syscall.sh / arm / lchown

lchown

change ownership of a file

sys_lchown16(const char *filename, old_uid_t user, old_gid_t group)
number16 (0x10)
abicommon
entry pointsys_lchown16
sinceLinux 4.10
man pagelchown(2)
sourceelixir.bootlin.com

Registers

registervalue
r716, the syscall number
r0const char *filename
r1old_uid_t user
r2old_gid_t group
r0the return value

Then run svc #0 to enter the kernel.

Same syscall on other architectures

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