glibc/sysdeps/unix/sysv/linux/alpha
Aurelien Jarno 9adcf488e6 alpha: force old OSF1 syscalls for getegid, geteuid and getppid [BZ #24986]
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 1a6566094d)
2019-11-13 15:31:23 -06:00
..
alpha
alphaev6/fpu
alphaev67/fpu
bits Linux: Use in-tree copy of SO_ constants for !__USE_MISC [BZ #24532] 2019-07-24 10:59:34 +02:00
fpu
sys Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
Implies
Makefile alpha: Use Linux generic sigaction implementation 2018-12-18 19:52:21 -02:00
Versions
____longjmp_chk.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
a.out.h Break lines before not after operators, batch 4. 2019-03-07 20:20:25 +00:00
adjtime.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
aio_cancel.c
brk.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
c++-types.data
clone.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
configure
configure.ac
dl-auxv.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
dl-brk.S
dl-fxstatat64.c
dl-support.c
dl-sysdep.c
fraiseexcpt.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
fstatfs64.c
fstatvfs.c
fstatvfs64.c
fxstat.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
fxstatat.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
getclktck.c
getcontext.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
getdents.c
getdents64.c
getegid.S alpha: force old OSF1 syscalls for getegid, geteuid and getppid [BZ #24986] 2019-11-13 15:31:23 -06:00
geteuid.S alpha: force old OSF1 syscalls for getegid, geteuid and getppid [BZ #24986] 2019-11-13 15:31:23 -06:00
gethostname.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
getppid.S alpha: force old OSF1 syscalls for getegid, geteuid and getppid [BZ #24986] 2019-11-13 15:31:23 -06:00
getrlimit64.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
getsysstats.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
glob-lstat-compat.c
globfree.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
ieee_get_fp_control.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
ieee_set_fp_control.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
internal_statvfs64.c
ioperm.c Break further lines before not after operators. 2019-02-26 15:01:50 +00:00
ipc_priv.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
jmp_buf-macros.h
kernel-features.h io: Remove copy_file_range emulation [BZ #24744] 2019-06-28 09:39:21 +02:00
kernel_sigaction.h alpha: Use Linux generic sigaction implementation 2018-12-18 19:52:21 -02:00
kernel_stat.h
kernel_sysinfo.h
kernel_termios.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
ld.abilist
libBrokenLocale.abilist
libanl.abilist
libc.abilist Linux: Add getdents64 system call 2019-06-07 09:27:01 +02:00
libcrypt.abilist
libdl.abilist
libm.abilist Remove the error handling wrapper from pow 2018-11-21 09:58:36 +00:00
libnsl.abilist
libpthread.abilist nptl: Add POSIX-proposed pthread_mutex_clocklock 2019-07-12 13:36:25 +00:00
libresolv.abilist
librt.abilist
libthread_db.abilist
libutil.abilist
localplt.data
lxstat.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
makecontext.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nldbl-abi.h
oldglob.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
pipe.S
register-dump.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
rt_sigaction.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
select.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
setcontext.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
setfpucw.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
setrlimit64.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
shlib-versions
sigcontextinfo.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigprocmask.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sizes.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
statfs64.c
statvfs.c
statvfs64.c
swapcontext.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
syscall.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
syscalls.list
sysconf.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sysdep.h alpha: Do not redefine __NR_shmat or __NR_osf_shmat 2019-04-01 15:54:00 +07:00
timer_create.c
timer_delete.c
timer_getoverr.c
timer_gettime.c
timer_settime.c
ucontext-offsets.sym
vfork.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
wordexp.c
xstat.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
xstatconv.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
xstatconv.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00