mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-31 14:01:18 +08:00
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 1a6566094d3097f4a3037ab5555cddc6cb11c3a3)
This commit is contained in:
parent
3c3f8dc307
commit
b1299aab22
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
||||
2019-09-14 Aurelien Jarno <aurelien@aurel32.net>
|
||||
|
||||
[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-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
|
||||
|
||||
* sysdeps/hppa/fpu/libm-test-ulps: Update.
|
||||
|
2
NEWS
2
NEWS
@ -12,6 +12,8 @@ The following bugs are resolved with this release:
|
||||
[24682] localedata: zh_CN first weekday should be Monday per GB/T
|
||||
7408-2005
|
||||
[24867] malloc: Remove unwanted leading whitespace in malloc_info
|
||||
[24986] alpha: new getegid, geteuid and getppid syscalls used
|
||||
unconditionally
|
||||
|
||||
|
||||
Version 2.30
|
||||
|
Loading…
x
Reference in New Issue
Block a user