fstatat64 on mn10300
get file status
sys_fstatat64(int dfd, const char *filename, struct stat64 *statbuf, int flag)
| number | 301 (0x12d) |
|---|---|
| abi | common |
| entry point | sys_fstatat64 |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for mn10300) |
| man page | fstatat64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
d0 | 301, the syscall number |
a0 | int dfd |
d1 | const char *filename |
a3 | struct stat64 *statbuf |
a2 | int flag |
d0 | the return value |
Then run syscall 0 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
- 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
- nds32 79, removed in 5.18
- nios2 79
- openrisc 79
- parisc 280
- score 79, removed in 4.17
- sh 300
- sparc 289
- sparc64 289
- tilepro 79, removed in 4.17
- xtensa 299
Get this as JSON: https://api.syscall.sh/v2/syscalls/mn10300/fstatat64?kernel=all