]> git.ipfire.org Git - people/ms/linux.git/blobdiff - include/linux/mnt_namespace.h
nsproxy: attach to namespaces via pidfds
[people/ms/linux.git] / include / linux / mnt_namespace.h
index 007cfa52efb23093af98b55078f2c160faec17c2..8f882f5881e8797d72bd38c9e693899cc25d1d22 100644 (file)
@@ -11,6 +11,7 @@ struct ns_common;
 extern struct mnt_namespace *copy_mnt_ns(unsigned long, struct mnt_namespace *,
                struct user_namespace *, struct fs_struct *);
 extern void put_mnt_ns(struct mnt_namespace *ns);
+extern struct ns_common *from_mnt_ns(struct mnt_namespace *);
 
 extern const struct file_operations proc_mounts_operations;
 extern const struct file_operations proc_mountinfo_operations;