syscall.sh / alpha / setrlimit

setrlimit

get/set resource limits

sys_setrlimit(unsigned int resource, struct rlimit *rlim)
number145 (0x91)
abicommon
entry pointsys_setrlimit
sinceLinux 5.0
man pagesetrlimit(2)
sourceelixir.bootlin.com

Registers

registervalue
v0145, the syscall number
a0unsigned int resource
a1struct rlimit *rlim
v0the return value

Then run callsys to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/alpha/setrlimit