syscall.sh / xtensa / fchown

fchown

change ownership of a file

sys_fchown(unsigned int fd, uid_t user, gid_t group)
number53 (0x35)
abicommon
entry pointsys_fchown
sinceLinux 5.0
man pagefchown(2)
sourceelixir.bootlin.com

Registers

registervalue
a253, the syscall number
a6unsigned int fd
a3uid_t user
a4gid_t group
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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