sysinfo on score
return system information
sys_sysinfo(struct sysinfo *info)
| number | 179 (0xb3) |
|---|---|
| abi | common |
| entry point | sys_sysinfo |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | sysinfo(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 179, the syscall number |
r4 | struct sysinfo *info |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
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 99
- x86 116
- arm64 179
- arm 116
- riscv64 179
- ia32 116
- x32 1073741923
- loongarch64 179
- ppc64 116
- ppc 116
- s390x 116
- mips64 5097
- mipsn32 6097
- mipso32 4116
- alpha 318
- arc 179
- blackfin 116, removed in 4.17
- cris 116, removed in 4.17
- csky 179
- frv 116, removed in 4.17
- hexagon 179
- ia64 1127, removed in 6.7
- m32r 116, removed in 4.17
- m68k 116
- metag 179, removed in 4.17
- microblaze 116
- mn10300 116, removed in 4.17
- nds32 179, removed in 5.18
- nios2 179
- openrisc 179
- parisc 116
- sh 116
- sparc 214
- sparc64 214
- tilegx 179, removed in 4.17
- tilepro 179, removed in 4.17
- xtensa 209
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/sysinfo?kernel=all