syscall.sh / x32 / setrlimit

setrlimit

get/set resource limits

sys_setrlimit(unsigned int resource, struct rlimit *rlim)
number1073741984 (0x400000a0)
abicommon
entry pointsys_setrlimit
sinceLinux 3.4
man pagesetrlimit(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073741984, 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/setrlimit