syscall.sh / xtensa / access

access

check user's permissions for a file

sys_access(const char *filename, int mode)
number57 (0x39)
abicommon
entry pointsys_access
sinceLinux 5.0
man pageaccess(2)
sourceelixir.bootlin.com

Registers

registervalue
a257, the syscall number
a6const char *filename
a3int mode
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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