syscall.sh / microblaze / openat2
openat2
open and possibly create a file (extended)
sys_openat2(int dfd, const char *filename, struct open_how *how, size_t size)
| number | 437 (0x1b5) |
|---|---|
| abi | common |
| entry point | sys_openat2 |
| since | Linux 5.6 |
| man page | openat2(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r12 | 437, the syscall number |
r5 | int dfd |
r6 | const char *filename |
r7 | struct open_how *how |
r8 | size_t size |
r3 | the return value |
Then run brki r14,8 to enter the kernel.
Same syscall on other architectures
- x64 437
- x86 437
- arm64 437
- arm 437
- riscv64 437
- x32 1073742261
- loongarch64 437
- ppc64 437
- ppc 437
- s390x 437
- mips64 5437
- mipsn32 6437
- mipso32 4437
- alpha 547
- arc 437
- csky 437
- hexagon 437
- m68k 437
- nios2 437
- openrisc 437
- parisc 437
- sh 437
- sparc 437
- sparc64 437
- xtensa 437
Get this as JSON: https://api.syscall.sh/v2/syscalls/microblaze/openat2