syscall.sh / ppc64 / 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
r095, the syscall number
r3unsigned int fd
r4uid_t user
r5gid_t group
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/fchown