syscall.sh / x64 / _sysctl

_sysctl

read/write system parameters

sys_sysctl(struct __sysctl_args *args)

This syscall was removed in Linux 5.9.

number156 (0x9c)
abi64
entry pointsys_sysctl
sinceLinux 3.3
removed inLinux 5.9
man page_sysctl(2)
sourceelixir.bootlin.com

Registers

registervalue
rax156, the syscall number
rdistruct __sysctl_args *args
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/x64/_sysctl