syscall.sh / sh / faccessat

faccessat

check user's permissions for a file

sys_faccessat(int dfd, const char *filename, int mode)
number307 (0x133)
abicommon
entry pointsys_faccessat
sinceLinux 5.0
man pagefaccessat(2)
sourceelixir.bootlin.com

Registers

registervalue
r3307, the syscall number
r4int dfd
r5const char *filename
r6int mode
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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