aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/proc_ns.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/proc_ns.h')
-rw-r--r--include/linux/proc_ns.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/proc_ns.h b/include/linux/proc_ns.h
index 2ff18c9840a7..d31cb6215905 100644
--- a/include/linux/proc_ns.h
+++ b/include/linux/proc_ns.h
@@ -78,6 +78,9 @@ extern struct file *proc_ns_fget(int fd);
78#define get_proc_ns(inode) ((struct ns_common *)(inode)->i_private) 78#define get_proc_ns(inode) ((struct ns_common *)(inode)->i_private)
79extern void *ns_get_path(struct path *path, struct task_struct *task, 79extern void *ns_get_path(struct path *path, struct task_struct *task,
80 const struct proc_ns_operations *ns_ops); 80 const struct proc_ns_operations *ns_ops);
81typedef struct ns_common *ns_get_path_helper_t(void *);
82extern void *ns_get_path_cb(struct path *path, ns_get_path_helper_t ns_get_cb,
83 void *private_data);
81 84
82extern int ns_get_name(char *buf, size_t size, struct task_struct *task, 85extern int ns_get_name(char *buf, size_t size, struct task_struct *task,
83 const struct proc_ns_operations *ns_ops); 86 const struct proc_ns_operations *ns_ops);