syscall.sh / nios2 / setrlimit

setrlimit

get/set resource limits

sys_setrlimit(unsigned int resource, struct rlimit *rlim)
number164 (0xa4)
abirlimit
entry pointsys_setrlimit
sinceLinux 3.19
man pagesetrlimit(2)
sourceelixir.bootlin.com

Registers

registervalue
r2164, 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/setrlimit