syscall.sh / parisc / getrlimit

getrlimit

get/set resource limits

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

Registers

registervalue
r2076, the syscall number
r26unsigned int resource
r25struct rlimit *rlim
r28the return value

Then run ble 0x100(%sr2, %r0) to enter the kernel.

Same syscall on other architectures

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