syscall.sh / csky / fchmodat

fchmodat

change permissions of a file

sys_fchmodat(int dfd, const char *filename, umode_t mode)
number53 (0x35)
abicommon
entry pointsys_fchmodat
sinceLinux 4.20
man pagefchmodat(2)
sourceelixir.bootlin.com

Registers

registervalue
r753, the syscall number
a0int dfd
a1const char *filename
a2umode_t mode
a0the 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/csky/fchmodat