1
0
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:
Adhemerval Zanella
2020-06-11 17:41:16 -03:00
parent df4cb2280e
commit 83008fa495
18 changed files with 47 additions and 27 deletions

View File

@ -0,0 +1,2 @@
#define VERSION_prlimit64 GLIBC_2_17
#include <sysdeps/unix/sysv/linux/prlimit64.c>

View File

@ -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