syscall.sh / arm64 / fchmodat

fchmodat

change permissions of a file

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

Registers

registervalue
x853, the syscall number
x0int dfd
x1const char *filename
x2umode_t mode
x0the 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/arm64/fchmodat