syscall.sh / m68k / lchown

lchown

change ownership of a file

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

Registers

registervalue
d0182, the syscall number
d1const char *filename
d2old_uid_t user
d3old_gid_t group
d0the return value

Then run trap #0 to enter the kernel.

Same syscall on other architectures

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