syscall.sh / mips64 / prctl

prctl

operations on a process or thread

sys_prctl(int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5)
number5153 (0x1421)
abin64
entry pointsys_prctl
sinceLinux 5.0
man pageprctl(2)
sourceelixir.bootlin.com

Registers

registervalue
v05153, the syscall number
a0int option
a1unsigned long arg2
a2unsigned long arg3
a3unsigned long arg4
a4unsigned long arg5
v0the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/mips64/prctl