diff options
author | Yann Sionneau <ysionneau@kalray.eu> | 2023-09-14 16:29:40 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2023-09-14 16:46:52 +0200 |
commit | 95e38b378480b7935238b8b2b2712f76211f4fea (patch) | |
tree | 3439f4edd552cce1600896b9211c99cd23e6cb9f /libpthread/linuxthreads_db | |
parent | dd21bfd5a7fc87e6dd163745ce15ac2b77439428 (diff) |
add support for systems without legacy setrlimit/getrlimit syscalls
Those must have the recent prlimit64 syscall which exists since
Linux 3.2.
This patch is necessary for non-legacy architectures that wish to remove
support for legacy setrlimit/getrlimit syscalls.
The non-legacy arch are those who opt-out via non defining
__ARCH_WANT_SET_GET_RLIMIT in their arch/xxx/include/uapi/asm/unistd.h
setrlimit and getrlimit are then emulated via the new prlimit64 syscall.
Signed-off-by: Yann Sionneau <ysionneau@kalray.eu>
Diffstat (limited to 'libpthread/linuxthreads_db')
0 files changed, 0 insertions, 0 deletions