1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-01 10:06:57 +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

@ -1,3 +0,0 @@
# File name Caller Syscall name # args Strong name Weak names
prlimit64 EXTRA prlimit64 i:iipp prlimit64

View File

@ -4,6 +4,4 @@
# return value.
lseek64 - lseek i:iii __lseek64 __libc_lseek64 lseek64@@GLIBC_2.2 llseek@GLIBC_2.0:GLIBC_2.28
prlimit64 EXTRA prlimit64 i:iipp prlimit64
personality EXTRA personality Ei:i __personality personality

View File

@ -1,5 +1,3 @@
# File name Caller Syscall name # args Strong name Weak names
prlimit EXTRA prlimit64 i:iipp prlimit prlimit64
sendfile - sendfile i:iipi sendfile sendfile64