syscall.sh / s390x / getrlimit

getrlimit

get/set resource limits

sys_getrlimit(unsigned int resource, struct rlimit *rlim)
number191 (0xbf)
abicommon
entry pointsys_getrlimit
sinceLinux 4.16
man pagegetrlimit(2)
sourceelixir.bootlin.com

Registers

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