syscall.sh / openrisc / getrlimit

getrlimit

get/set resource limits

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

Registers

registervalue
r11163, the syscall number
r3unsigned int resource
r4struct rlimit *rlim
r11the return value

Then run l.sys 1 to enter the kernel.

Same syscall on other architectures

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