newfstatat on loongarch64
get file status
sys_newfstatat(int dfd, const char *filename, struct stat *statbuf, int flag)
| number | 79 (0x4f) |
|---|---|
| abi | 64 |
| entry point | sys_newfstatat |
| since | Linux 6.11 |
| man page | newfstatat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a7 | 79, the syscall number |
a0 | int dfd |
a1 | const char *filename |
a2 | struct stat *statbuf |
a3 | int flag |
a0 | the return value |
Then run syscall 0 to enter the kernel.
Same syscall on other architectures
- x64 262
- arm64 79
- riscv64 79
- x32 1073742086
- ppc64 291
- s390x 293
- mips64 5252
- mipsn32 6256
- ia64 1286, removed in 6.7
- score 1054, removed in 4.17
- tilegx 79, removed in 4.17
Get this as JSON: https://api.syscall.sh/v2/syscalls/loongarch64/newfstatat