syscall.sh / microblaze / fchownat

fchownat

change ownership of a file

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

Registers

registervalue
r12298, the syscall number
r5int dfd
r6const char *filename
r7uid_t user
r8gid_t group
r9int flag
r3the return value

Then run brki r14,8 to enter the kernel.

Same syscall on other architectures

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