syscall.sh / x64 / getrlimit

getrlimit

get/set resource limits

sys_getrlimit(unsigned int resource, struct rlimit *rlim)
number97 (0x61)
abicommon
entry pointsys_getrlimit
sinceLinux 3.3
man pagegetrlimit(2)
sourceelixir.bootlin.com

Registers

registervalue
rax97, the syscall number
rdiunsigned int resource
rsistruct rlimit *rlim
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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