syscall.sh / riscv64 / fchmodat2

fchmodat2

sys_fchmodat2(int dfd, const char *filename, umode_t mode, unsigned int flags)
number452 (0x1c4)
abicommon
entry pointsys_fchmodat2
sinceLinux 6.6
sourceelixir.bootlin.com

Registers

registervalue
a7452, the syscall number
a0int dfd
a1const char *filename
a2umode_t mode
a3unsigned int flags
a0the return value

Then run ecall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/riscv64/fchmodat2