From 83008fa495535aaef74def5ab4ed59967fff1bb6 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Thu, 11 Jun 2020 17:41:16 -0300 Subject: 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. --- sysdeps/unix/sysv/linux/hppa/prlimit64.c | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 sysdeps/unix/sysv/linux/hppa/prlimit64.c (limited to 'sysdeps/unix/sysv/linux/hppa/prlimit64.c') 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 -- cgit 1.4.1