syscall.sh / arm64 / prlimit64

prlimit64

get/set resource limits

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

Registers

registervalue
x8261, the syscall number
x0pid_t pid
x1unsigned int resource
x2const struct rlimit64 *new_rlim
x3struct rlimit64 *old_rlim
x0the 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/arm64/prlimit64