glibc/sysdeps/unix/sysv/linux/s390
Joseph Myers 48eb7a94e2 Move some chown / lchown / fchown definitions to syscalls.list (bug 14138).
Continuing the move of syscall definitions to syscalls.list, where the
removal of support for old kernel versions has made this possible,
this patch moves various definitions of chown, lchown and fchown.

In most cases the need for special syscalls.list entries (rather than
existing generic ones) is because these architectures use chown32,
lchown32 and fchown32 as syscall names.  Some architectures also have
symbol versioning compatibility for older versions of chown having
been equivalent to lchown.

The aliases specified for s390-32 had the effect of exporting
__chown@@GLIBC_2.1 (but not __chown@GLIBC_2.0) despite it not being
listed in Versions files.  (I'm not sure why versioned_symbol but not
compat_symbol were effective like that to create such __chown exports
in the absence of Versions entries.)  The natural way to preserve that
versioned export of __chown seems to be to add it in a Versions file,
so I did so.  (Maybe actually it should be a compat symbol,
__chown@GLIBC_2.1, unless there's a good reason for that export, but
this patch doesn't change anything there.)

Tested for x86.

	[BZ #14138]
	* sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
	* sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
	* sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
	* sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
	* sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
	* sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
	__chown.
	* sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
	(lchown): Likewise.
	(fchown): Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
	Likewise.
	(lchown): Likewise.
	(fchown): Likewise.
	* sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
	(lchown): Likewise.
	(fchown): Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
	Likewise.
	(lchown): Likewise.
	(fchown): Likewise.
2014-10-24 12:59:23 +00:00
..
bits
fpu
s390-32 Move some chown / lchown / fchown definitions to syscalls.list (bug 14138). 2014-10-24 12:59:23 +00:00
s390-64 Remove shlib-versions entries redundant with DEFAULT entries. 2014-09-26 17:34:22 +00:00
sys S/390: Revert the jmp_buf/ucontext_t ABI change. 2014-07-31 20:04:54 +02:00
Implies NPTL is no longer an add-on! 2014-07-07 09:29:06 -07:00
Makefile Clean up gnu/lib-names.h generation (bug 14171). 2014-09-26 17:33:04 +00:00
Versions Move remaining S390 code out of nptl/. 2014-06-26 09:31:11 -07:00
arch-fork.h
brk.c
configure
configure.ac
dl-cache.h
dl-procinfo.h
elision-conf.c Move remaining S390 code out of nptl/. 2014-06-26 09:31:11 -07:00
elision-conf.h Move remaining S390 code out of nptl/. 2014-06-26 09:31:11 -07:00
elision-lock.c Move remaining S390 code out of nptl/. 2014-06-26 09:31:11 -07:00
elision-timed.c Move remaining S390 code out of nptl/. 2014-06-26 09:31:11 -07:00
elision-trylock.c Move remaining S390 code out of nptl/. 2014-06-26 09:31:11 -07:00
elision-unlock.c Move remaining S390 code out of nptl/. 2014-06-26 09:31:11 -07:00
force-elision.h Move remaining S390 code out of nptl/. 2014-06-26 09:31:11 -07:00
gettimeofday.c
init-first.c
jmp-unwind.c Get rid of nptl/sysdeps/ entirely! 2014-07-07 09:28:38 -07:00
kernel-features.h [PATCH 6/6] Split s390 out of main Linux kernel-features.h. 2014-07-17 17:55:44 +00:00
ldconfig.h
ldd-rewrite.sed
libanl.abilist S390: Consolidate nptl/ subdirectories under linux/... 2014-06-26 09:34:34 -07:00
localplt.data S390: Consolidate nptl/ subdirectories under linux/... 2014-06-26 09:34:34 -07:00
longjmp_chk.c S/390: Revert the jmp_buf/ucontext_t ABI change. 2014-07-31 20:04:54 +02:00
lowlevellock.h Get rid of lll_robust_dead. 2014-07-10 11:21:54 -07:00
nldbl-abi.h
opensock.c
pt-longjmp.c S/390: Revert the jmp_buf/ucontext_t ABI change. 2014-07-31 20:04:54 +02:00
pt-vfork.S S390: Consolidate NPTL/non versions of vfork 2014-06-26 09:30:52 -07:00
pthread_mutex_cond_lock.c Get rid of nptl/sysdeps/ entirely! 2014-07-07 09:28:38 -07:00
pthread_mutex_lock.c Move remaining S390 code out of nptl/. 2014-06-26 09:31:11 -07:00
pthread_mutex_timedlock.c Move remaining S390 code out of nptl/. 2014-06-26 09:31:11 -07:00
pthread_mutex_trylock.c Move remaining S390 code out of nptl/. 2014-06-26 09:31:11 -07:00
pthread_once.c Move remaining S390 code out of nptl/. 2014-06-26 09:31:11 -07:00
readelflib.c
rt-sysdep.S
sa_len.c
semtimedop.c
sigcontextinfo.h
system.c
ucontext_i.sym S/390: Revert the jmp_buf/ucontext_t ABI change. 2014-07-31 20:04:54 +02:00