fstatat64 on metag
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.9 or earlier (3.9 is the first release scanned for metag) |
| man page | fstatat64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
D1Re0 | 79, the syscall number |
D1Ar1 | int dfd |
D0Ar2 | const char *filename |
D1Ar3 | struct stat64 *statbuf |
D0Ar4 | int flag |
D0Re0 | the return value |
Then run SWITCH #0x440001 to enter the kernel.
Values wider than one register are packed into consecutive arguments.
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
- microblaze 300
- mn10300 301, removed in 4.17
- 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/metag/fstatat64?kernel=all