_sysctl on m32r
read/write system parameters
sys_sysctl(struct __sysctl_args *args)
| number | 149 (0x95) |
|---|---|
| abi | common |
| entry point | sys_sysctl |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for m32r) |
| man page | _sysctl(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 149, the syscall number |
r0 | struct __sysctl_args *args |
r0 | the return value |
Then run trap #2 to enter the kernel.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 156, removed in 5.9
- x86 149, removed in 5.9
- arm 149, removed in 5.9
- ia32 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
- blackfin 149, removed in 4.17
- cris 149, removed in 4.17
- frv 149, removed in 4.17
- ia64 1150, removed in 5.9
- m68k 149, removed in 5.9
- microblaze 149, removed in 5.9
- mn10300 149, removed in 4.17
- parisc 149, removed in 5.9
- score 1078, removed in 4.17
- 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/m32r/_sysctl?kernel=all