syscall.sh / xtensa / getrlimit

getrlimit

get/set resource limits

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

Registers

registervalue
a2189, the syscall number
a6unsigned int resource
a3struct rlimit *rlim
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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