syscall.sh / sparc / fchown

fchown

change ownership of a file

sys_fchown16(unsigned int fd, old_uid_t user, old_gid_t group)
number123 (0x7b)
abi32
entry pointsys_fchown16
sinceLinux 5.0
man pagefchown(2)
sourceelixir.bootlin.com

Registers

registervalue
g1123, the syscall number
o0unsigned int fd
o1old_uid_t user
o2old_gid_t group
o0the return value

Then run t 0x10 to enter the kernel.

Same syscall on other architectures

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