newfstatat on score
get file status
sys_newfstatat(int dfd, const char *filename, struct stat *statbuf, int flag)
| number | 1054 (0x41e) |
|---|---|
| abi | common |
| entry point | sys_newfstatat |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | newfstatat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 1054, the syscall number |
r4 | int dfd |
r5 | const char *filename |
r6 | struct stat *statbuf |
r7 | int flag |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 262
- arm64 79
- riscv64 79
- x32 1073742086
- loongarch64 79
- ppc64 291
- s390x 293
- mips64 5252
- mipsn32 6256
- ia64 1286, removed in 6.7
- tilegx 79, removed in 4.17
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/newfstatat?kernel=all