syscall.sh / x86 / _sysctl
_sysctl
read/write system parameters
sys_sysctl(struct __sysctl_args *args)
This syscall was removed in Linux 5.9.
| number | 149 (0x95) |
|---|---|
| abi | i386 |
| entry point | sys_sysctl |
| since | Linux 3.3 |
| removed in | Linux 5.9 |
| man page | _sysctl(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 149, the syscall number |
ebx | struct __sysctl_args *args |
eax | the return value |
Then run int 0x80 to enter the kernel.
Same syscall on other architectures
- x64 156, removed in 5.9
- arm 149, removed in 5.9
- ppc64 149, removed in 5.9
- ppc 149, removed in 5.9
- s390x 149, removed in 5.9
- mips64 5152, removed in 5.9
- mipsn32 6152, removed in 5.9
- mipso32 4153, removed in 5.9
- alpha 319, removed in 5.9
- m68k 149, removed in 5.9
- microblaze 149, removed in 5.9
- parisc 149, removed in 5.9
- sh 149, removed in 5.9
- sparc 251, removed in 5.9
- sparc64 251, removed in 5.9
- xtensa 206, removed in 5.9
Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/_sysctl