syscall.sh / nios2 / 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.19
man pagefchmodat(2)
sourceelixir.bootlin.com

Registers

registervalue
r253, the syscall number
r4int dfd
r5const char *filename
r6umode_t mode
r2the return value

Then run trap to enter the kernel.

Same syscall on other architectures

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