syscall.sh / x32 / 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)
number1073742291 (0x400001d3)
abicommon
entry pointsys_open_tree_attr
sinceLinux 6.15
man pageopen_tree_attr(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073742291, the syscall number
rdiint dfd
rsiconst char *path
rdxunsigned flags
r10struct mount_attr *uattr
r8size_t usize
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x32/open_tree_attr