syscall.sh / arc / open_tree_attr
open_tree_attr
open path or create detached mount object and attach to fd
sys_open_tree_attr(int dfd, const char *path, unsigned flags, struct mount_attr *uattr, size_t usize)
| number | 467 (0x1d3) |
|---|---|
| abi | common |
| entry point | sys_open_tree_attr |
| since | Linux 6.15 |
| man page | open_tree_attr(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r8 | 467, the syscall number |
r0 | int dfd |
r1 | const char *path |
r2 | unsigned flags |
r3 | struct mount_attr *uattr |
r4 | size_t usize |
r0 | the return value |
Then run trap0 to enter the kernel.
Same syscall on other architectures
- x64 467
- x86 467
- arm64 467
- arm 467
- riscv64 467
- x32 1073742291
- loongarch64 467
- ppc64 467
- ppc 467
- s390x 467
- mips64 5467
- mipsn32 6467
- mipso32 4467
- alpha 577
- csky 467
- hexagon 467
- m68k 467
- microblaze 467
- nios2 467
- openrisc 467
- parisc 467
- sh 467
- sparc 467
- sparc64 467
- xtensa 467
Get this as JSON: https://api.syscall.sh/v2/syscalls/arc/open_tree_attr