access on score
check user's permissions for a file
sys_access(const char *filename, int mode)
| number | 1033 (0x409) |
|---|---|
| abi | common |
| entry point | sys_access |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | access(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 1033, the syscall number |
r4 | const char *filename |
r5 | int mode |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 21
- x86 33
- arm 33
- ia32 33
- x32 1073741845
- ppc64 33
- ppc 33
- s390x 33
- mips64 5020
- mipsn32 6020
- mipso32 4033
- alpha 33
- blackfin 33, removed in 4.17
- cris 33, removed in 4.17
- frv 33, removed in 4.17
- ia64 1049, removed in 6.7
- m32r 33, removed in 4.17
- m68k 33
- microblaze 33
- mn10300 33, removed in 4.17
- parisc 33
- sh 33
- sparc 33
- sparc64 33
- xtensa 57
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/access?kernel=all