fstatat64 on m32r
get file status
sys_fstatat64(int dfd, const char *filename, struct stat64 *statbuf, int flag)
| number | 300 (0x12c) |
|---|---|
| abi | common |
| entry point | sys_fstatat64 |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for m32r) |
| man page | fstatat64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 300, the syscall number |
r0 | int dfd |
r1 | const char *filename |
r2 | struct stat64 *statbuf |
r3 | int flag |
r0 | the return value |
Then run trap #2 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
- 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
- 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/m32r/fstatat64?kernel=all