faccessat on metag
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.9 or earlier (3.9 is the first release scanned for metag) |
| man page | faccessat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
D1Re0 | 48, the syscall number |
D1Ar1 | int dfd |
D0Ar2 | const char *filename |
D1Ar3 | int mode |
D0Re0 | the return value |
Then run SWITCH #0x440001 to enter the kernel.
Values wider than one register are packed into consecutive arguments.
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
- microblaze 307
- mn10300 308, removed in 4.17
- nds32 48, removed in 5.18
- nios2 48
- openrisc 48
- parisc 287
- score 48, removed in 4.17
- 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/metag/faccessat?kernel=all