syscall.sh / x32 / fchmodat

fchmodat

change permissions of a file

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

Registers

registervalue
rax1073742092, the syscall number
rdiint dfd
rsiconst char *filename
rdxumode_t mode
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x32/fchmodat