kernel: add a helper to get an owning user namespace for a namespace
[linux-2.6-block.git] / include / linux / proc_ns.h
index de0e7719d4c5594b6dd536aa49fad22c24abf3af..ca85a4348ffcb690d94855fe01515ca6ca6f6f8a 100644 (file)
@@ -18,6 +18,7 @@ struct proc_ns_operations {
        struct ns_common *(*get)(struct task_struct *task);
        void (*put)(struct ns_common *ns);
        int (*install)(struct nsproxy *nsproxy, struct ns_common *ns);
+       struct user_namespace *(*owner)(struct ns_common *ns);
 };
 
 extern const struct proc_ns_operations netns_operations;