faccessat on score
check user's permissions for a file
sys_faccessat(int dfd, const char *filename, int mode)
| number | 48 (0x30) |
|---|---|
| abi | common |
| entry point | sys_faccessat |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | faccessat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 48, the syscall number |
r4 | int dfd |
r5 | const char *filename |
r6 | 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 269
- x86 307
- arm64 48
- arm 334
- riscv64 48
- ia32 307
- x32 1073742093
- loongarch64 48
- ppc64 298
- ppc 298
- s390x 300
- mips64 5259
- mipsn32 6263
- mipso32 4300
- alpha 462
- arc 48
- blackfin 307, removed in 4.17
- cris 307, removed in 4.17
- csky 48
- frv 307, removed in 4.17
- hexagon 48
- ia64 1293, removed in 6.7
- m32r 307, removed in 4.17
- m68k 300
- metag 48, removed in 4.17
- microblaze 307
- mn10300 308, removed in 4.17
- nds32 48, removed in 5.18
- nios2 48
- openrisc 48
- parisc 287
- sh 307
- sparc 296
- sparc64 296
- tilegx 48, removed in 4.17
- tilepro 48, removed in 4.17
- xtensa 301
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/faccessat?kernel=all