statfs64 on score
get filesystem statistics
sys_statfs64(const char *path, size_t sz, struct statfs64 *buf)
| number | 43 (0x2b) |
|---|---|
| abi | common |
| entry point | sys_statfs64 |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | statfs64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 43, the syscall number |
r4 | const char *path |
r5 | size_t sz |
r6 | struct statfs64 *buf |
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
- x86 268
- arm 266
- ia32 268
- ppc64 252
- ppc 252
- s390x 265
- mipsn32 6217
- mipso32 4255
- alpha 528
- arc 43
- blackfin 269, removed in 4.17
- cris 268, removed in 4.17
- csky 43
- frv 268, removed in 4.17
- hexagon 43
- ia64 1258, removed in 6.7
- m32r 268, removed in 4.17
- m68k 263
- metag 43, removed in 4.17
- microblaze 268
- mn10300 268, removed in 4.17
- nds32 43, removed in 5.18
- nios2 43
- openrisc 43
- parisc 298
- sh 268
- sparc 234
- sparc64 234
- tilepro 43, removed in 4.17
- xtensa 186
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/statfs64?kernel=all