syscall.sh / csky / getrlimit

getrlimit

get/set resource limits

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

Registers

registervalue
r7163, the syscall number
a0unsigned int resource
a1struct rlimit *rlim
a0the return value

Then run trap 0 to enter the kernel.

Same syscall on other architectures

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