aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/selinux/hooks.c')
-rw-r--r--security/selinux/hooks.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index 838d1e5e63a1..4e4de98941ae 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -5551,14 +5551,6 @@ static __init int selinux_init(void)
5551 else 5551 else
5552 printk(KERN_DEBUG "SELinux: Starting in permissive mode\n"); 5552 printk(KERN_DEBUG "SELinux: Starting in permissive mode\n");
5553 5553
5554#ifdef CONFIG_KEYS
5555 /* Add security information to initial keyrings */
5556 selinux_key_alloc(&root_user_keyring, current,
5557 KEY_ALLOC_NOT_IN_QUOTA);
5558 selinux_key_alloc(&root_session_keyring, current,
5559 KEY_ALLOC_NOT_IN_QUOTA);
5560#endif
5561
5562 return 0; 5554 return 0;
5563} 5555}
5564 5556