syscall.sh / nios2 / getrlimit

getrlimit

get/set resource limits

sys_getrlimit(unsigned int resource, struct rlimit *rlim)
number163 (0xa3)
abirlimit
entry pointsys_getrlimit
sinceLinux 3.19
man pagegetrlimit(2)
sourceelixir.bootlin.com

Registers

registervalue
r2163, the syscall number
r4unsigned int resource
r5struct rlimit *rlim
r2the return value

Then run trap to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/nios2/getrlimit