syscall.sh / parisc / stat

stat

get file status

sys_newstat(const char *filename, struct stat *statbuf)
number18 (0x12)
abicommon
entry pointsys_newstat
sinceLinux 5.0
man pagestat(2)
sourceelixir.bootlin.com

Registers

registervalue
r2018, the syscall number
r26const char *filename
r25struct stat *statbuf
r28the return value

Then run ble 0x100(%sr2, %r0) to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/stat