mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
linux: Add prlimit64 C implementation
The LFS prlimit64 requires a arch-specific implementation in syscalls.list. Instead add a generic one that handles the required symbol alias for __RLIM_T_MATCHES_RLIM64_T. HPPA is the only outlier which requires a different default symbol. Checked on x86_64-linux-gnu and with build for the affected ABIs.
This commit is contained in:
2
sysdeps/unix/sysv/linux/hppa/prlimit64.c
Normal file
2
sysdeps/unix/sysv/linux/hppa/prlimit64.c
Normal file
@ -0,0 +1,2 @@
|
||||
#define VERSION_prlimit64 GLIBC_2_17
|
||||
#include <sysdeps/unix/sysv/linux/prlimit64.c>
|
@ -9,5 +9,4 @@ shutdown - shutdown i:ii __shutdown shutdown
|
||||
socket - socket i:iii __socket socket
|
||||
socketpair - socketpair i:iiif __socketpair socketpair
|
||||
|
||||
prlimit64 EXTRA prlimit64 i:iipp __prlimit64 prlimit64@@GLIBC_2.17
|
||||
personality EXTRA personality Ei:i __personality personality
|
||||
|
Reference in New Issue
Block a user