glibc/sysdeps/unix/sysv/linux/s390/s390-32
Joseph Myers f7b425175c Support and use mixed compat/non-compat aliases in syscalls.list.
This patch enables syscalls.list entries to specify both compat and
non-compat symbol versions for the same syscall definition, making use
of this for setrlimit / chown / lchown where the inability to specify
such aliases showed up in the course of work on bug 14138.

The change to make-syscalls.sh is minimal: adding a SHARED conditional
on the compat_symbol calls.  It remains the case that if a compat
symbol version is specified, the syscall is only built for the shared
library at all if an explicit symbol version is given for a non-compat
symbol (so it's necessary to specify "lchown@@GLIBC_2.0
chown@GLIBC_2.0" rather than just "lchown chown@GLIBC_2.0").  It also
remains the case, as already commented in make-syscalls.sh, that no
SHLIB_COMPAT conditionals are generated, so there would be problems if
the same syscalls.list file, with compat symbols, were used for both
configurations that should have those symbols and configurations for
which they should be conditioned out with SHLIB_COMPAT.

Tested for x86.

	* sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
	compat_symbol calls on [SHARED].
	* sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
	* sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
	Remove.
	(setrlimit): Add setrlimit@GLIBC_2.0 alias.
	* sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
	(oldsetrlimit): Remove.
	(setrlimit): Add setrlimit@GLIBC_2.0 alias.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
	(lchown): New syscall entry.
	(oldsetrlimit): Remove.
	(setrlimit): Add setrlimit@GLIBC_2.0 alias.
	* sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
	(oldsetrlimit): Remove.
	(setrlimit): Add setrlimit@GLIBC_2.0 alias.
2014-10-06 22:58:59 +00:00
..
____longjmp_chk.c S/390: Revert the jmp_buf/ucontext_t ABI change. 2014-07-31 20:04:54 +02:00
__makecontext_ret.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
alphasort64.c
c++-types.data S390: Consolidate nptl/ subdirectories under linux/... 2014-06-26 09:34:34 -07:00
chown.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
clone.S S390: Consolidate NPTL/non versions of clone 2014-06-26 09:30:33 -07:00
fchown.c
fcntl.c
fxstat.c
fxstatat.c
getcontext.S S/390: Revert the jmp_buf/ucontext_t ABI change. 2014-07-31 20:04:54 +02:00
getdents64.c
getegid.c
geteuid.c
getgid.c
getgroups.c
getresgid.c
getresuid.c
getrlimit64.c
getuid.c
getutent_r.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getutent.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getutid_r.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getutid.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getutline_r.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getutline.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getutmp.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getutxent.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getutxid.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getutxline.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
lchown.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
ld.abilist S390: Consolidate nptl/ subdirectories under linux/... 2014-06-26 09:34:34 -07:00
libBrokenLocale.abilist S390: Consolidate nptl/ subdirectories under linux/... 2014-06-26 09:34:34 -07:00
libc.abilist S/390: Revert the jmp_buf/ucontext_t ABI change. 2014-07-31 20:04:54 +02:00
libcrypt.abilist S390: Consolidate nptl/ subdirectories under linux/... 2014-06-26 09:34:34 -07:00
libdl.abilist S390: Consolidate nptl/ subdirectories under linux/... 2014-06-26 09:34:34 -07:00
libm.abilist S390: Consolidate nptl/ subdirectories under linux/... 2014-06-26 09:34:34 -07:00
libnsl.abilist S390: Consolidate nptl/ subdirectories under linux/... 2014-06-26 09:34:34 -07:00
libpthread.abilist S390: Consolidate nptl/ subdirectories under linux/... 2014-06-26 09:34:34 -07:00
libresolv.abilist S390: Consolidate nptl/ subdirectories under linux/... 2014-06-26 09:34:34 -07:00
librt.abilist S390: Consolidate nptl/ subdirectories under linux/... 2014-06-26 09:34:34 -07:00
libthread_db.abilist S390: Consolidate nptl/ subdirectories under linux/... 2014-06-26 09:34:34 -07:00
libutil.abilist S390: Consolidate nptl/ subdirectories under linux/... 2014-06-26 09:34:34 -07:00
lockf64.c
login32.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
login.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
lxstat.c
makecontext.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
Makefile S/390: Fix uc_link == NULL handling for makecontext 2012-07-19 15:58:17 +02:00
mmap64.S Remove stray includes of kernel-features.h. 2014-06-25 18:09:01 +00:00
mmap.S Remove stray includes of kernel-features.h. 2014-06-25 18:09:01 +00:00
msgctl.c
oldgetrlimit64.c
posix_fadvise64.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
profil-counter.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
pututxline.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
readdir64_r.c
readdir64.c
register-dump.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
scandir64.c
semctl.c
setcontext.S S/390: Revert the jmp_buf/ucontext_t ABI change. 2014-07-31 20:04:54 +02:00
setegid.c
seteuid.c
setfsgid.c
setfsuid.c
setgid.c
setgroups.c
setregid.c
setresgid.c
setresuid.c
setreuid.c
setuid.c
shmctl.c
socket.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
swapcontext.S S/390: Revert the jmp_buf/ucontext_t ABI change. 2014-07-31 20:04:54 +02:00
syscall.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
syscalls.list Support and use mixed compat/non-compat aliases in syscalls.list. 2014-10-06 22:58:59 +00:00
sysdep-cancel.h Move remaining S390 code out of nptl/. 2014-06-26 09:31:11 -07:00
sysdep.h Remove unnecessary uses of NOT_IN_libc 2014-08-21 10:26:46 +05:30
sysdep.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
updwtmp.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
updwtmpx.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
utmp32.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
utmp32.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
utmp-compat.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
utmp-convert.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
utmpx32.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
utmpx32.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
utmpx-convert.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
Versions Add missing export of fallocate64 on 32-bit platforms. 2009-05-15 21:00:09 -07:00
versionsort64.c
vfork.S S390: Consolidate NPTL/non versions of vfork 2014-06-26 09:30:52 -07:00
xstat.c