|
@@ -143,6 +143,9 @@ extern const struct file_operations proc_kcore_operations;
|
|
|
extern const struct file_operations proc_kmsg_operations;
|
|
|
extern const struct file_operations ppc_htab_operations;
|
|
|
|
|
|
+extern int pid_ns_prepare_proc(struct pid_namespace *ns);
|
|
|
+extern void pid_ns_release_proc(struct pid_namespace *ns);
|
|
|
+
|
|
|
/*
|
|
|
* proc_tty.c
|
|
|
*/
|
|
@@ -235,6 +238,15 @@ static inline void proc_tty_unregister_driver(struct tty_driver *driver) {};
|
|
|
|
|
|
extern struct proc_dir_entry proc_root;
|
|
|
|
|
|
+static inline int pid_ns_prepare_proc(struct pid_namespace *ns)
|
|
|
+{
|
|
|
+ return 0;
|
|
|
+}
|
|
|
+
|
|
|
+static inline void pid_ns_release_proc(struct pid_namespace *ns)
|
|
|
+{
|
|
|
+}
|
|
|
+
|
|
|
#endif /* CONFIG_PROC_FS */
|
|
|
|
|
|
#if !defined(CONFIG_PROC_KCORE)
|