syscall.sh / x86 / 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 | i386 |
| entry point | sys_open_tree_attr |
| since | Linux 6.15 |
| man page | open_tree_attr(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 467, the syscall number |
ebx | int dfd |
ecx | const char *path |
edx | unsigned flags |
esi | struct mount_attr *uattr |
edi | size_t usize |
eax | the return value |
Then run int 0x80 to enter the kernel.
Same syscall on other architectures
- x64 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
- arc 467
- 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/x86/open_tree_attr