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.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index 1b73a3f966c8..7ce683259357 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -7207,7 +7207,10 @@ void selinux_complete_init(void)
7207 7207
7208/* SELinux requires early initialization in order to label 7208/* SELinux requires early initialization in order to label
7209 all processes and objects when they are created. */ 7209 all processes and objects when they are created. */
7210security_initcall(selinux_init); 7210DEFINE_LSM(selinux) = {
7211 .name = "selinux",
7212 .init = selinux_init,
7213};
7211 7214
7212#if defined(CONFIG_NETFILTER) 7215#if defined(CONFIG_NETFILTER)
7213 7216