syscall.sh / x32 / newfstatat
newfstatat
get file status
sys_newfstatat(int dfd, const char *filename, struct stat *statbuf, int flag)
| number | 1073742086 (0x40000106) |
|---|---|
| abi | common |
| entry point | sys_newfstatat |
| since | Linux 3.4 |
| man page | newfstatat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 1073742086, the syscall number |
rdi | int dfd |
rsi | const char *filename |
rdx | struct stat *statbuf |
r10 | int flag |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
Get this as JSON: https://api.syscall.sh/v2/syscalls/x32/newfstatat