syscall.sh / m68k / faccessat
faccessat
check user's permissions for a file
sys_faccessat(int dfd, const char *filename, int mode)
| number | 300 (0x12c) |
|---|---|
| abi | common |
| entry point | sys_faccessat |
| since | Linux 5.0 |
| man page | faccessat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
d0 | 300, the syscall number |
d1 | int dfd |
d2 | const char *filename |
d3 | int mode |
d0 | the return value |
Then run trap #0 to enter the kernel.
Same syscall on other architectures
- x64 269
- x86 307
- arm64 48
- arm 334
- riscv64 48
- x32 1073742093
- loongarch64 48
- ppc64 298
- ppc 298
- s390x 300
- mips64 5259
- mipsn32 6263
- mipso32 4300
- alpha 462
- arc 48
- csky 48
- hexagon 48
- microblaze 307
- nios2 48
- openrisc 48
- parisc 287
- sh 307
- sparc 296
- sparc64 296
- xtensa 301
Get this as JSON: https://api.syscall.sh/v2/syscalls/m68k/faccessat