syscall.sh / sparc / prlimit64

prlimit64

get/set resource limits

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

Registers

registervalue
g1331, the syscall number
o0pid_t pid
o1unsigned int resource
o2const struct rlimit64 *new_rlim
o3struct rlimit64 *old_rlim
o0the return value

Then run t 0x10 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc/prlimit64