syscall.sh / x86 / lstat64
lstat64
get file status
sys_lstat64(const char *filename, struct stat64 *statbuf)
| number | 196 (0xc4) |
|---|---|
| abi | i386 |
| entry point | sys_lstat64 |
| since | Linux 3.3 |
| man page | lstat64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 196, the syscall number |
ebx | const char *filename |
ecx | struct stat64 *statbuf |
eax | the return value |
Then run int 0x80 to enter the kernel.
Same syscall on other architectures
- arm 196
- ppc 196
- mipso32 4214
- alpha 426
- m68k 196
- microblaze 196
- parisc 198
- sh 196
- sparc 132
- sparc64 132
- xtensa 50
Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/lstat64