syscall.sh / x86 / _sysctl

_sysctl

read/write system parameters

sys_sysctl(struct __sysctl_args *args)

This syscall was removed in Linux 5.9.

number149 (0x95)
abii386
entry pointsys_sysctl
sinceLinux 3.3
removed inLinux 5.9
man page_sysctl(2)
sourceelixir.bootlin.com

Registers

registervalue
eax149, the syscall number
ebxstruct __sysctl_args *args
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/_sysctl