syscall.sh / parisc / chown

chown

change ownership of a file

sys_chown(const char *filename, uid_t user, gid_t group)
number180 (0xb4)
abicommon
entry pointsys_chown
sinceLinux 5.0
man pagechown(2)
sourceelixir.bootlin.com

Registers

registervalue
r20180, the syscall number
r26const char *filename
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/chown