openat on blackfin
open and possibly create a file
sys_openat(int dfd, const char *filename, int flags, umode_t mode)
| number | 295 (0x127) |
|---|---|
| abi | common |
| entry point | sys_openat |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for blackfin) |
| man page | openat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
P0 | 295, the syscall number |
R0 | int dfd |
R1 | const char *filename |
R2 | int flags |
R3 | umode_t mode |
R0 | the return value |
Then run excpt 0 to enter the kernel.
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 257
- x86 295
- arm64 56
- arm 322
- riscv64 56
- ia32 295
- x32 1073742081
- loongarch64 56
- ppc64 286
- ppc 286
- s390x 288
- mips64 5247
- mipsn32 6251
- mipso32 4288
- alpha 450
- arc 56
- cris 295, removed in 4.17
- csky 56
- frv 295, removed in 4.17
- hexagon 56
- ia64 1281, removed in 6.7
- m32r 295, removed in 4.17
- m68k 288
- metag 56, removed in 4.17
- microblaze 295
- mn10300 296, removed in 4.17
- nds32 56, removed in 5.18
- nios2 56
- openrisc 56
- parisc 275
- score 56, removed in 4.17
- sh 295
- sparc 284
- sparc64 284
- tilegx 56, removed in 4.17
- tilepro 56, removed in 4.17
- xtensa 288
Get this as JSON: https://api.syscall.sh/v2/syscalls/blackfin/openat?kernel=all