fstatat64 on ia32
get file status
compat_sys_ia32_fstatat64(int dfd, const char *filename, struct stat64 *statbuf, int flag)
| number | 300 (0x12c) |
|---|---|
| abi | i386 |
| entry point | compat_sys_ia32_fstatat64 |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for ia32) |
| man page | fstatat64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 300, the syscall number |
ebx | int dfd |
ecx | const char *filename |
edx | struct stat64 *statbuf |
esi | int flag |
eax | the return value |
Then run int 0x80 to enter the kernel.
This compat ABI is only available when the kernel is built with CONFIG_IA32_EMULATION.
Same syscall on other architectures
- x86 300
- arm 327
- ppc 291
- mipso32 4293
- alpha 455
- arc 79
- csky 79
- hexagon 79
- m68k 293
- microblaze 300
- nios2 79
- openrisc 79
- parisc 280
- sh 300
- sparc 289
- sparc64 289
- xtensa 299
Get this as JSON: https://api.syscall.sh/v2/syscalls/ia32/fstatat64