syscall.sh / mipso32 / access
access
check user's permissions for a file
sys_access(const char *filename, int mode)
| number | 4033 (0xfc1) |
|---|---|
| abi | o32 |
| entry point | sys_access |
| since | Linux 5.0 |
| man page | access(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 4033, the syscall number |
a0 | const char *filename |
a1 | int mode |
v0 | 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
- alpha 33
- m68k 33
- microblaze 33
- parisc 33
- sh 33
- sparc 33
- sparc64 33
- xtensa 57
Get this as JSON: https://api.syscall.sh/v2/syscalls/mipso32/access