syscall.sh / sparc64 / lstat64
lstat64
get file status
sys_lstat64(const char *filename, struct stat64 *statbuf)
| number | 132 (0x84) |
|---|---|
| abi | common |
| entry point | sys_lstat64 |
| since | Linux 5.0 |
| man page | lstat64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 132, the syscall number |
o0 | const char *filename |
o1 | struct stat64 *statbuf |
o0 | the return value |
Then run t 0x6d to enter the kernel.
Same syscall on other architectures
- x86 196
- arm 196
- ppc 196
- mipso32 4214
- alpha 426
- m68k 196
- microblaze 196
- parisc 198
- sh 196
- sparc 132
- xtensa 50
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc64/lstat64