syscall.sh / parisc / prlimit64

prlimit64

get/set resource limits

sys_prlimit64(pid_t pid, unsigned int resource, const struct rlimit64 *new_rlim, struct rlimit64 *old_rlim)
number321 (0x141)
abicommon
entry pointsys_prlimit64
sinceLinux 5.0
man pageprlimit64(2)
sourceelixir.bootlin.com

Registers

registervalue
r20321, the syscall number
r26pid_t pid
r25unsigned int resource
r24const struct rlimit64 *new_rlim
r23struct rlimit64 *old_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/prlimit64