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