syscall.sh / parisc / fchown

fchown

change ownership of a file

sys_fchown(unsigned int fd, uid_t user, gid_t group)
number95 (0x5f)
abicommon
entry pointsys_fchown
sinceLinux 5.0
man pagefchown(2)
sourceelixir.bootlin.com

Registers

registervalue
r2095, the syscall number
r26unsigned int fd
r25uid_t user
r24gid_t group
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/fchown