syscall.sh / mipso32 / chown

chown

change ownership of a file

sys_chown(const char *filename, uid_t user, gid_t group)
number4202 (0x106a)
abio32
entry pointsys_chown
sinceLinux 5.0
man pagechown(2)
sourceelixir.bootlin.com

Registers

registervalue
v04202, the syscall number
a0const char *filename
a1uid_t user
a2gid_t group
v0the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/mipso32/chown