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

Registers

registervalue
r1467, the syscall number
r2int dfd
r3const char *path
r4unsigned flags
r5struct mount_attr *uattr
r6size_t usize
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

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