diff options
Diffstat (limited to 'kernel/user.c')
-rw-r--r-- | kernel/user.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/kernel/user.c b/kernel/user.c index cff38565917..f9e420e3669 100644 --- a/kernel/user.c +++ b/kernel/user.c @@ -22,6 +22,22 @@ * and 1 for... ? */ struct user_namespace init_user_ns = { + .uid_map = { + .nr_extents = 1, + .extent[0] = { + .first = 0, + .lower_first = 0, + .count = 4294967295, + }, + }, + .gid_map = { + .nr_extents = 1, + .extent[0] = { + .first = 0, + .lower_first = 0, + .count = 4294967295, + }, + }, .kref = { .refcount = ATOMIC_INIT(3), }, |