sched/headers: Prepare for new header dependencies before moving code to <linux/sched...
[platform/kernel/linux-rpi.git] / kernel / user.c
index 69b800a..00281ad 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/slab.h>
 #include <linux/bitops.h>
 #include <linux/key.h>
+#include <linux/sched/user.h>
 #include <linux/interrupt.h>
 #include <linux/export.h>
 #include <linux/user_namespace.h>
@@ -54,6 +55,7 @@ struct user_namespace init_user_ns = {
 #ifdef CONFIG_USER_NS
        .ns.ops = &userns_operations,
 #endif
+       .flags = USERNS_INIT_FLAGS,
 #ifdef CONFIG_PERSISTENT_KEYRINGS
        .persistent_keyring_register_sem =
        __RWSEM_INITIALIZER(init_user_ns.persistent_keyring_register_sem),