syscall.sh / openrisc / 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
r1153, the syscall number
r3int dfd
r4const char *filename
r5umode_t mode
r11the return value

Then run l.sys 1 to enter the kernel.

Same syscall on other architectures

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