mirror of git://sourceware.org/git/glibc.git
On alpha, Linux kernel 5.1 added the standard getegid, geteuid and
getppid syscalls (commit ecf7e0a4ad15287). Up to now alpha was using
the corresponding OSF1 syscalls through:
- sysdeps/unix/alpha/getegid.S
- sysdeps/unix/alpha/geteuid.S
- sysdeps/unix/alpha/getppid.S
When building against kernel headers >= 5.1, the glibc now use the new
syscalls through sysdeps/unix/sysv/linux/syscalls.list. When it is then
used with an older kernel, the corresponding 3 functions fail.
A quick fix is to move the OSF1 wrappers under the
sysdeps/unix/sysv/linux/alpha directory so they override the standard
linux ones. A better fix would be to try the new syscalls and fallback
to the old OSF1 in case the new ones fail. This can be implemented in
a later commit.
Changelog:
[BZ #24986]
* sysdeps/unix/alpha/getegid.S: Move to ...
* sysdeps/unix/sysv/linux/alpha/getegid.S: ... here.
* sysdeps/unix/alpha/geteuid.S: Move to ...
* sysdeps/unix/sysv/linux/alpha/geteuid.S: ... here.
* sysdeps/unix/alpha/getppid.S: Move to ...
* sysdeps/unix/sysv/linux/alpha/getppid.S: ... here
(cherry picked from commit
|
||
---|---|---|
.. | ||
alpha | ||
alphaev6/fpu | ||
alphaev67/fpu | ||
bits | ||
fpu | ||
sys | ||
Implies | ||
Makefile | ||
Versions | ||
____longjmp_chk.S | ||
a.out.h | ||
adjtime.c | ||
aio_cancel.c | ||
brk.S | ||
c++-types.data | ||
clone.S | ||
configure | ||
configure.ac | ||
dl-auxv.h | ||
dl-brk.S | ||
dl-fxstatat64.c | ||
dl-support.c | ||
dl-sysdep.c | ||
fraiseexcpt.S | ||
fstatfs64.c | ||
fstatvfs.c | ||
fstatvfs64.c | ||
fxstat.c | ||
fxstatat.c | ||
getclktck.c | ||
getcontext.S | ||
getdents.c | ||
getdents64.c | ||
getegid.S | ||
geteuid.S | ||
gethostname.c | ||
getppid.S | ||
getrlimit64.c | ||
getsysstats.c | ||
glob-lstat-compat.c | ||
globfree.c | ||
ieee_get_fp_control.S | ||
ieee_set_fp_control.S | ||
internal_statvfs64.c | ||
ioperm.c | ||
ipc_priv.h | ||
jmp_buf-macros.h | ||
kernel-features.h | ||
kernel_sigaction.h | ||
kernel_stat.h | ||
kernel_sysinfo.h | ||
kernel_termios.h | ||
ld.abilist | ||
libBrokenLocale.abilist | ||
libanl.abilist | ||
libc.abilist | ||
libcrypt.abilist | ||
libdl.abilist | ||
libm.abilist | ||
libnsl.abilist | ||
libpthread.abilist | ||
libresolv.abilist | ||
librt.abilist | ||
libthread_db.abilist | ||
libutil.abilist | ||
localplt.data | ||
lxstat.c | ||
makecontext.S | ||
nldbl-abi.h | ||
oldglob.c | ||
pipe.S | ||
register-dump.h | ||
rt_sigaction.S | ||
select.c | ||
setcontext.S | ||
setfpucw.c | ||
setrlimit64.c | ||
shlib-versions | ||
sigcontextinfo.h | ||
sigprocmask.c | ||
sizes.h | ||
statfs64.c | ||
statvfs.c | ||
statvfs64.c | ||
swapcontext.S | ||
syscall.S | ||
syscalls.list | ||
sysconf.c | ||
sysdep.h | ||
timer_create.c | ||
timer_delete.c | ||
timer_getoverr.c | ||
timer_gettime.c | ||
timer_settime.c | ||
ucontext-offsets.sym | ||
vfork.S | ||
wordexp.c | ||
xstat.c | ||
xstatconv.c | ||
xstatconv.h |