glibc/sysdeps
Aurelien Jarno 1a6566094d 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
2019-09-14 18:22:52 +02:00
..
aarch64 Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
alpha Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
arm Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
csky Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
generic Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
gnu Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
hppa Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
htl Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
hurd Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
i386 Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
ia64 Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
ieee754 Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
init_array Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
m68k Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
mach Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
microblaze Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
mips Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
nios2 Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
nptl Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
posix Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
powerpc Fix three GNU license URLs, along with trailing-newline issues. 2019-09-07 03:13:16 -07:00
pthread Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
riscv Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
s390 Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sh Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sparc Fix three GNU license URLs, along with trailing-newline issues. 2019-09-07 03:13:16 -07:00
unix alpha: force old OSF1 syscalls for getegid, geteuid and getppid [BZ #24986] 2019-09-14 18:22:52 +02:00
wordsize-32 Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
wordsize-64 Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
x86 Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
x86_64 Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00