syscall.sh / ppc / ugetrlimit

ugetrlimit

get/set resource limits

sys_getrlimit(unsigned int resource, struct rlimit *rlim)
number190 (0xbe)
abicommon
entry pointsys_getrlimit
sinceLinux 5.0
man pageugetrlimit(2)
sourceelixir.bootlin.com

Registers

registervalue
r0190, the syscall number
r3unsigned int resource
r4struct rlimit *rlim
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc/ugetrlimit