syscall.sh / arc / getrlimit

getrlimit

get/set resource limits

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

Registers

registervalue
r8163, the syscall number
r0unsigned int resource
r1struct rlimit *rlim
r0the return value

Then run trap0 to enter the kernel.

Same syscall on other architectures

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