syscall.sh / s390x / prctl

prctl

operations on a process or thread

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

Registers

registervalue
r1172, the syscall number
r2int option
r3unsigned long arg2
r4unsigned long arg3
r5unsigned long arg4
r6unsigned long arg5
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

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