syscall.sh / s390x / setrlimit

setrlimit

get/set resource limits

sys_setrlimit(unsigned int resource, struct rlimit *rlim)
number75 (0x4b)
abicommon
entry pointsys_setrlimit
sinceLinux 4.16
man pagesetrlimit(2)
sourceelixir.bootlin.com

Registers

registervalue
r175, the syscall number
r2unsigned int resource
r3struct rlimit *rlim
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

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