syscall.sh / m68k / fchownat

fchownat

change ownership of a file

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

Registers

registervalue
d0291, the syscall number
d1int dfd
d2const char *filename
d3uid_t user
d4gid_t group
d5int flag
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/fchownat