syscall.sh / xtensa / prlimit64

prlimit64

get/set resource limits

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

Registers

registervalue
a2330, the syscall number
a6pid_t pid
a3unsigned int resource
a4const struct rlimit64 *new_rlim
a5struct rlimit64 *old_rlim
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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