mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-02 09:40:13 +00:00
48eb7a94e2
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. |
||
---|---|---|
.. | ||
bits | ||
sh3 | ||
sh4 | ||
sys | ||
____longjmp_chk.S | ||
arch-fork.h | ||
brk.c | ||
c++-types.data | ||
clone.S | ||
configure | ||
configure.ac | ||
fcntl.c | ||
fxstat.c | ||
fxstatat.c | ||
getegid.c | ||
geteuid.c | ||
getgid.c | ||
getgroups.c | ||
getresgid.c | ||
getresuid.c | ||
getrlimit64.c | ||
getuid.c | ||
Implies | ||
kernel-features.h | ||
ld.abilist | ||
libanl.abilist | ||
libBrokenLocale.abilist | ||
libc-lowlevellock.S | ||
libc.abilist | ||
libcrypt.abilist | ||
libdl.abilist | ||
libm.abilist | ||
libnsl.abilist | ||
libpthread.abilist | ||
libresolv.abilist | ||
librt.abilist | ||
libthread_db.abilist | ||
libutil.abilist | ||
lockf64.c | ||
lowlevel-atomic.h | ||
lowlevellock.h | ||
lowlevellock.S | ||
lowlevelrobustlock.S | ||
lxstat.c | ||
makecontext.S | ||
Makefile | ||
msgctl.c | ||
pipe.S | ||
pread64.c | ||
pread.c | ||
profil-counter.h | ||
pt-vfork.S | ||
pthread_barrier_wait.S | ||
pthread_cond_broadcast.S | ||
pthread_cond_signal.S | ||
pthread_cond_timedwait.S | ||
pthread_cond_wait.S | ||
pthread_once.S | ||
pthread_rwlock_rdlock.S | ||
pthread_rwlock_timedrdlock.S | ||
pthread_rwlock_timedwrlock.S | ||
pthread_rwlock_unlock.S | ||
pthread_rwlock_wrlock.S | ||
pwrite64.c | ||
pwrite.c | ||
sem_post.S | ||
sem_timedwait.S | ||
sem_trywait.S | ||
sem_wait.S | ||
semctl.c | ||
setegid.c | ||
seteuid.c | ||
setfsgid.c | ||
setfsuid.c | ||
setgid.c | ||
setgroups.c | ||
setregid.c | ||
setresgid.c | ||
setresuid.c | ||
setreuid.c | ||
setuid.c | ||
shlib-versions | ||
shmctl.c | ||
sigaltstack-offsets.sym | ||
sigcontextinfo.h | ||
smp.h | ||
socket.S | ||
syscall.S | ||
syscalls.list | ||
sysdep-cancel.h | ||
sysdep.h | ||
sysdep.S | ||
Versions | ||
vfork.S | ||
xstat.c |