syscall.sh / s390x / newfstatat
newfstatat
get file status
sys_newfstatat(int dfd, const char *filename, struct stat *statbuf, int flag)
| number | 293 (0x125) |
|---|---|
| abi | common |
| entry point | sys_newfstatat |
| since | Linux 4.16 |
| man page | newfstatat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r1 | 293, the syscall number |
r2 | int dfd |
r3 | const char *filename |
r4 | struct stat *statbuf |
r5 | int flag |
r2 | the return value |
Then run svc 0 to enter the kernel.
Same syscall on other architectures
Get this as JSON: https://api.syscall.sh/v2/syscalls/s390x/newfstatat