syscall.sh / m68k / fchown

fchown

change ownership of a file

sys_fchown16(unsigned int fd, old_uid_t user, old_gid_t group)
number95 (0x5f)
abicommon
entry pointsys_fchown16
sinceLinux 5.0
man pagefchown(2)
sourceelixir.bootlin.com

Registers

registervalue
d095, the syscall number
d1unsigned int fd
d2old_uid_t user
d3old_gid_t group
d0the return value

Then run trap #0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/m68k/fchown