syscall.sh / ppc64 / fchownat

fchownat

change ownership of a file

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

Registers

registervalue
r0289, the syscall number
r3int dfd
r4const char *filename
r5uid_t user
r6gid_t group
r7int flag
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc64/fchownat