summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/readlink.c
diff options
context:
space:
mode:
authorYann Sionneau <ysionneau@kalray.eu>2023-09-14 16:29:40 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2023-09-14 16:46:52 +0200
commit95e38b378480b7935238b8b2b2712f76211f4fea (patch)
tree3439f4edd552cce1600896b9211c99cd23e6cb9f /libc/sysdeps/linux/common/readlink.c
parentdd21bfd5a7fc87e6dd163745ce15ac2b77439428 (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 'libc/sysdeps/linux/common/readlink.c')
0 files changed, 0 insertions, 0 deletions