syscall.sh / xtensa / prctl

prctl

operations on a process or thread

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

Registers

registervalue
a2130, the syscall number
a6int option
a3unsigned long arg2
a4unsigned long arg3
a5unsigned long arg4
a8unsigned long arg5
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/prctl