syscall.sh / riscv64 / faccessat

faccessat

check user's permissions for a file

sys_faccessat(int dfd, const char *filename, int mode)
number48 (0x30)
abicommon
entry pointsys_faccessat
sinceLinux 4.15
man pagefaccessat(2)
sourceelixir.bootlin.com

Registers

registervalue
a748, the syscall number
a0int dfd
a1const char *filename
a2int mode
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/faccessat