syscall.sh / alpha / getrlimit

getrlimit

get/set resource limits

sys_getrlimit(unsigned int resource, struct rlimit *rlim)
number144 (0x90)
abicommon
entry pointsys_getrlimit
sinceLinux 5.0
man pagegetrlimit(2)
sourceelixir.bootlin.com

Registers

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