syscall.sh / sparc / stat64
stat64
get file status
sys_stat64(const char *filename, struct stat64 *statbuf)
| number | 139 (0x8b) |
|---|---|
| abi | common |
| entry point | sys_stat64 |
| since | Linux 5.0 |
| man page | stat64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 139, the syscall number |
o0 | const char *filename |
o1 | struct stat64 *statbuf |
o0 | the return value |
Then run t 0x10 to enter the kernel.
Same syscall on other architectures
- x86 195
- arm 195
- ppc 195
- mipso32 4213
- alpha 425
- m68k 195
- microblaze 195
- parisc 101
- sh 195
- sparc64 139
- xtensa 47
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc/stat64