fstatat64 on score
get file status
sys_fstatat64(int dfd, const char *filename, struct stat64 *statbuf, int flag)
| number | 79 (0x4f) |
|---|---|
| abi | common |
| entry point | sys_fstatat64 |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | fstatat64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 79, the syscall number |
r4 | int dfd |
r5 | const char *filename |
r6 | struct stat64 *statbuf |
r7 | int flag |
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 300
- arm 327
- ia32 300
- ppc 291
- mipso32 4293
- alpha 455
- arc 79
- blackfin 300, removed in 4.17
- cris 300, removed in 4.17
- csky 79
- frv 300, removed in 4.17
- hexagon 79
- m32r 300, removed in 4.17
- m68k 293
- metag 79, removed in 4.17
- microblaze 300
- mn10300 301, removed in 4.17
- nds32 79, removed in 5.18
- nios2 79
- openrisc 79
- parisc 280
- sh 300
- sparc 289
- sparc64 289
- tilepro 79, removed in 4.17
- xtensa 299
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/fstatat64?kernel=all