syscall.sh / sparc64 / oldlstat
oldlstat
get file status
sys_newlstat(const char *filename, struct stat *statbuf)
| number | 202 (0xca) |
|---|---|
| abi | common |
| entry point | sys_newlstat |
| since | Linux 5.0 |
| man page | oldlstat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 202, the syscall number |
o0 | const char *filename |
o1 | struct stat *statbuf |
o0 | the return value |
Then run t 0x6d to enter the kernel.
Same syscall on other architectures
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc64/oldlstat