syscall.sh / microblaze / prlimit64

prlimit64

get/set resource limits

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

Registers

registervalue
r12370, the syscall number
r5pid_t pid
r6unsigned int resource
r7const struct rlimit64 *new_rlim
r8struct rlimit64 *old_rlim
r3the return value

Then run brki r14,8 to enter the kernel.

Same syscall on other architectures

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