userns: Simplify the user_namespace by making userns->creator a kuid.
[deliverable/linux.git] / include / linux / user_namespace.h
index faf467944bafc0937ee7710b154e1ad91e07f847..8a391bd53de26c266d101d57d84c2879524c2038 100644 (file)
@@ -6,14 +6,11 @@
 #include <linux/sched.h>
 #include <linux/err.h>
 
-#define UIDHASH_BITS   (CONFIG_BASE_SMALL ? 3 : 7)
-#define UIDHASH_SZ     (1 << UIDHASH_BITS)
-
 struct user_namespace {
        struct kref             kref;
-       struct hlist_head       uidhash_table[UIDHASH_SZ];
-       struct user_struct      *creator;
-       struct work_struct      destroyer;
+       struct user_namespace   *parent;
+       kuid_t                  owner;
+       kgid_t                  group;
 };
 
 extern struct user_namespace init_user_ns;
This page took 0.027624 seconds and 5 git commands to generate.