syscall.sh / xtensa / setrlimit

setrlimit

get/set resource limits

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

Registers

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