syscall.sh / xtensa / access
access
check user's permissions for a file
sys_access(const char *filename, int mode)
| number | 57 (0x39) |
|---|---|
| abi | common |
| entry point | sys_access |
| since | Linux 5.0 |
| man page | access(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a2 | 57, the syscall number |
a6 | const char *filename |
a3 | int mode |
a2 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 21
- x86 33
- arm 33
- x32 1073741845
- ppc64 33
- ppc 33
- s390x 33
- mips64 5020
- mipsn32 6020
- mipso32 4033
- alpha 33
- m68k 33
- microblaze 33
- parisc 33
- sh 33
- sparc 33
- sparc64 33
Get this as JSON: https://api.syscall.sh/v2/syscalls/xtensa/access