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

Registers

registervalue
v0577, the syscall number
a0int dfd
a1const char *path
a2unsigned flags
a3struct mount_attr *uattr
a4size_t usize
v0the return value

Then run callsys to enter the kernel.

Same syscall on other architectures

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