syscall.sh / mipso32 / prctl

prctl

operations on a process or thread

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

Registers

registervalue
v04192, the syscall number
a0int option
a1unsigned long arg2
a2unsigned long arg3
a3unsigned long arg4
sp+16unsigned 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/mipso32/prctl