oldstat on frv
get file status
sys_stat(const char *filename, struct __old_kernel_stat *statbuf)
| number | 18 (0x12) |
|---|---|
| abi | common |
| entry point | sys_stat |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for frv) |
| man page | oldstat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
gr7 | 18, the syscall number |
gr8 | const char *filename |
gr9 | struct __old_kernel_stat *statbuf |
gr8 | the return value |
Then run tira gr0, 0 to enter the kernel.
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
Get this as JSON: https://api.syscall.sh/v2/syscalls/frv/oldstat?kernel=all