syscall.sh / arm / fchmodat

fchmodat

change permissions of a file

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

Registers

registervalue
r7333, the syscall number
r0int dfd
r1const char *filename
r2umode_t mode
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/fchmodat