syscall.sh / sparc / prctl

prctl

operations on a process or thread

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

Registers

registervalue
g1147, the syscall number
o0int option
o1unsigned long arg2
o2unsigned long arg3
o3unsigned long arg4
o4unsigned long arg5
o0the return value

Then run t 0x10 to enter the kernel.

Same syscall on other architectures

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