panic: add sysctl to dump all CPUs backtraces on oops event
[sfrench/cifs-2.6.git] / include / linux / pid_namespace.h
index 4956e362e55e69e07d0fefd477aab34c37b68bc1..5a5cb45ac57e7a37bd4cd015db9c8d9cff38db54 100644 (file)
 
 struct fs_pin;
 
-enum { /* definitions for pid_namespace's hide_pid field */
-       HIDEPID_OFF       = 0,
-       HIDEPID_NO_ACCESS = 1,
-       HIDEPID_INVISIBLE = 2,
-};
-
 struct pid_namespace {
        struct kref kref;
        struct idr idr;
@@ -32,17 +26,11 @@ struct pid_namespace {
        struct kmem_cache *pid_cachep;
        unsigned int level;
        struct pid_namespace *parent;
-#ifdef CONFIG_PROC_FS
-       struct dentry *proc_self;
-       struct dentry *proc_thread_self;
-#endif
 #ifdef CONFIG_BSD_PROCESS_ACCT
        struct fs_pin *bacct;
 #endif
        struct user_namespace *user_ns;
        struct ucounts *ucounts;
-       kgid_t pid_gid;
-       int hide_pid;
        int reboot;     /* group exit code if this pidns was rebooted */
        struct ns_common ns;
 } __randomize_layout;