syscall.sh / parisc / fchownat

fchownat

change ownership of a file

sys_fchownat(int dfd, const char *filename, uid_t user, gid_t group, int flag)
number278 (0x116)
abicommon
entry pointsys_fchownat
sinceLinux 5.0
man pagefchownat(2)
sourceelixir.bootlin.com

Registers

registervalue
r20278, the syscall number
r26int dfd
r25const char *filename
r24uid_t user
r23gid_t group
r22int flag
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/fchownat