syscall.sh / x32 / arch_prctl

arch_prctl

set architecture-specific thread state

sys_arch_prctl(int option, unsigned long arg2)
number1073741982 (0x4000009e)
abicommon
entry pointsys_arch_prctl
sinceLinux 3.4
man pagearch_prctl(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073741982, the syscall number
rdiint option
rsiunsigned long arg2
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x32/arch_prctl