syscall.sh / alpha / lchown

lchown

change ownership of a file

sys_lchown(const char *filename, uid_t user, gid_t group)
number208 (0xd0)
abicommon
entry pointsys_lchown
sinceLinux 5.0
man pagelchown(2)
sourceelixir.bootlin.com

Registers

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

Then run callsys to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/alpha/lchown