syscall.sh / x32 / getrlimit

getrlimit

get/set resource limits

sys_getrlimit(unsigned int resource, struct rlimit *rlim)
number1073741921 (0x40000061)
abicommon
entry pointsys_getrlimit
sinceLinux 3.4
man pagegetrlimit(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073741921, 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/x32/getrlimit