diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-06-11 17:41:16 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-11-30 13:13:03 -0300 |
commit | 83008fa495535aaef74def5ab4ed59967fff1bb6 (patch) | |
tree | 0ba20ad426e1d301233f777263a366734659eb36 /sysdeps/unix/sysv/linux/hppa | |
parent | df4cb2280e32187380520f71bd27ab32252cbc85 (diff) | |
download | glibc-83008fa495535aaef74def5ab4ed59967fff1bb6.tar.gz glibc-83008fa495535aaef74def5ab4ed59967fff1bb6.tar.xz glibc-83008fa495535aaef74def5ab4ed59967fff1bb6.zip |
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.
Diffstat (limited to 'sysdeps/unix/sysv/linux/hppa')
-rw-r--r-- | sysdeps/unix/sysv/linux/hppa/prlimit64.c | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/hppa/syscalls.list | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/hppa/prlimit64.c b/sysdeps/unix/sysv/linux/hppa/prlimit64.c new file mode 100644 index 0000000000..4554c81dd9 --- /dev/null +++ b/sysdeps/unix/sysv/linux/hppa/prlimit64.c @@ -0,0 +1,2 @@ +#define VERSION_prlimit64 GLIBC_2_17 +#include <sysdeps/unix/sysv/linux/prlimit64.c> diff --git a/sysdeps/unix/sysv/linux/hppa/syscalls.list b/sysdeps/unix/sysv/linux/hppa/syscalls.list index cc5305a585..12e4adeccc 100644 --- a/sysdeps/unix/sysv/linux/hppa/syscalls.list +++ b/sysdeps/unix/sysv/linux/hppa/syscalls.list @@ -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 |