only use getrlimit/setrlimit syscalls if they exist
authorStefan O'Rear <sorear@fastmail.com>
Thu, 3 Sep 2020 07:31:05 +0000 (03:31 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 2 May 2022 03:25:21 +0000 (23:25 -0400)
commit41149ea8c7a6f28a1c60478fe7f6b9552aa39e3b
treef9fe8f74a892ce6b5b77ba8eb3e704da8ed703e5
parent8910efd0e474fab85bf00657a6eeae4d69a87f63
only use getrlimit/setrlimit syscalls if they exist

riscv32 and future architectures only provide prlimit64.
src/misc/getrlimit.c
src/misc/setrlimit.c