faccessat2 on loongarch64

check user's permissions for a file

sys_faccessat2(int dfd, const char *filename, int mode, int flags)
number439 (0x1b7)
abicommon
entry pointsys_faccessat2
sinceLinux 5.19 or earlier (5.19 is the first release scanned for loongarch64)
man pagefaccessat2(2)
sourceelixir.bootlin.com

Registers

registervalue
a7439, the syscall number
a0int dfd
a1const char *filename
a2int mode
a3int flags
a0the return value

Then run syscall 0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/loongarch64/faccessat2