glibc/sysdeps/unix/sysv/linux/i386
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
..
i486 Remove x86 assembler rwlock code 2014-06-13 13:16:06 -07:00
i586 Remove x86 assembler rwlock code 2014-06-13 13:16:06 -07:00
i686 NPTL is no longer an add-on! 2014-07-07 09:29:06 -07:00
i786 Move remaining nptl/sysdeps/unix/sysv/linux/i386/ files. 2014-05-14 13:37:40 -07:00
____longjmp_chk.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
_exit.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
accept4.S Fix __ASSUME_ACCEPT4 issues (bug 16609). 2014-02-20 17:50:31 +00:00
alphasort64.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
arch-fork.h Split arch-fork.h from fork.h 2014-05-16 11:17:41 -07:00
brk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
c++-types.data x86: Move abilist files out of nptl/ subdirectories. 2014-05-14 15:45:23 -07:00
call_fallocate.S * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_routines): Add 2007-09-15 22:38:32 +00:00
call_pselect6.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
call_sync_file_range.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
clone.S x86: Consolidate NPTL/non versions of clone 2014-05-14 10:16:27 -07:00
configure Move architecture cases out of sysdeps/unix/sysv/linux/configure.ac. 2014-06-24 20:53:03 +00:00
configure.ac Move architecture cases out of sysdeps/unix/sysv/linux/configure.ac. 2014-06-24 20:53:03 +00:00
dl-librecon.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
dl-procinfo.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
dl-sysdep.h Move remaining nptl/sysdeps/unix/sysv/linux/i386/ files. 2014-05-14 13:37:40 -07:00
epoll_pwait.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
fallocate64.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
fallocate.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
fcntl.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
fxstat.c Remove stray includes of kernel-features.h. 2014-06-25 18:09:01 +00:00
fxstatat.c Remove __ASSUME_ATFCTS conditionals in sysdeps/unix/sysv/linux/. 2014-06-20 15:41:35 +00:00
get_clockfreq.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
getcontext.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getdents64.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getegid.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
geteuid.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getgid.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getgroups.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getmsg.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getresgid.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getresuid.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getrlimit64.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getuid.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
glob64.c Remove pre-ISO C support 2012-01-07 23:57:22 -05:00
Implies NPTL is no longer an add-on! 2014-07-07 09:29:06 -07:00
internal_accept4.S Add missing file from accept4 commit. 2009-05-31 17:46:55 -07:00
kernel-features.h [PATCH 2/6] Split i386 out of main Linux kernel-features.h. 2014-07-17 17:51:52 +00:00
ld.abilist x86: Move abilist files out of nptl/ subdirectories. 2014-05-14 15:45:23 -07:00
ldconfig.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
libanl.abilist x86: Move abilist files out of nptl/ subdirectories. 2014-05-14 15:45:23 -07:00
libBrokenLocale.abilist x86: Move abilist files out of nptl/ subdirectories. 2014-05-14 15:45:23 -07:00
libc.abilist x86: Move abilist files out of nptl/ subdirectories. 2014-05-14 15:45:23 -07:00
libcrypt.abilist x86: Move abilist files out of nptl/ subdirectories. 2014-05-14 15:45:23 -07:00
libdl.abilist x86: Move abilist files out of nptl/ subdirectories. 2014-05-14 15:45:23 -07:00
libm.abilist x86: Move abilist files out of nptl/ subdirectories. 2014-05-14 15:45:23 -07:00
libnsl.abilist x86: Move abilist files out of nptl/ subdirectories. 2014-05-14 15:45:23 -07:00
libpthread.abilist x86: Move abilist files out of nptl/ subdirectories. 2014-05-14 15:45:23 -07:00
libresolv.abilist x86: Move abilist files out of nptl/ subdirectories. 2014-05-14 15:45:23 -07:00
librt.abilist x86: Move abilist files out of nptl/ subdirectories. 2014-05-14 15:45:23 -07:00
libthread_db.abilist x86: Move abilist files out of nptl/ subdirectories. 2014-05-14 15:45:23 -07:00
libutil.abilist x86: Move abilist files out of nptl/ subdirectories. 2014-05-14 15:45:23 -07:00
localplt.data x86: Move abilist files out of nptl/ subdirectories. 2014-05-14 15:45:23 -07:00
lockf64.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
lowlevellock.h Get rid of lll_robust_dead. 2014-07-10 11:21:54 -07:00
lxstat.c Remove stray includes of kernel-features.h. 2014-06-25 18:09:01 +00:00
makecontext.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
Makefile Use i386 sys/elf.h and sys/vm86.h for i386 and x86-64 2012-06-01 13:22:46 -07: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 Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
olddirent.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
oldgetrlimit64.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
posix_fadvise64.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
posix_fallocate64.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
posix_fallocate.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
profil-counter.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
pselect.c * sysdeps/unix/sysv/linux/pselect.c (__pselect): Allow actual 2006-01-21 08:21:04 +00:00
putmsg.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
readdir64_r.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
readdir64.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
readelflib.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
register-dump.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
scandir64.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
semctl.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
semtimedop.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
setcontext.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
setegid.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
seteuid.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
setfsgid.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
setfsuid.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
setgid.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
setgroups.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
setregid.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
setresgid.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
setresuid.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
setreuid.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
setuid.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
shlib-versions Clean up gnu/lib-names.h generation (bug 14171). 2014-09-26 17:33:04 +00:00
shmctl.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sigaction.c Get rid of nptl/sysdeps/ entirely! 2014-07-07 09:28:38 -07:00
sigcontextinfo.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
smp.h Move remaining nptl/sysdeps/unix/sysv/linux/i386/ files. 2014-05-14 13:37:40 -07:00
socket.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
swapcontext.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sync_file_range.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
syscall.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
syscalls.list Move some chown / lchown / fchown definitions to syscalls.list (bug 14138). 2014-10-24 12:59:23 +00:00
sysconf.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sysdep-cancel.h Move remaining nptl/sysdeps/unix/sysv/linux/i386/ files. 2014-05-14 13:37:40 -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
ucontext_i.sym * sysdeps/unix/sysv/linux/i386/ucontext_i.h: File removed. 2005-12-22 05:18:34 +00:00
Versions Add missing export of fallocate64 on 32-bit platforms. 2009-05-15 21:00:09 -07:00
versionsort64.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
vfork.S Remove stray includes of kernel-features.h. 2014-06-25 18:09:01 +00:00
xstat.c Remove stray includes of kernel-features.h. 2014-06-25 18:09:01 +00:00