syscall.sh / arm64 / 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
x8163, the syscall number
x0unsigned int resource
x1struct rlimit *rlim
x0the return value

Then run svc #0 to enter the kernel.

Same syscall on other architectures

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