syscall.sh / parisc / fstat

fstat

get file status

sys_newfstat(unsigned int fd, struct stat *statbuf)
number28 (0x1c)
abicommon
entry pointsys_newfstat
sinceLinux 5.0
man pagefstat(2)
sourceelixir.bootlin.com

Registers

registervalue
r2028, the syscall number
r26unsigned int fd
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/fstat