diff options
Diffstat (limited to 'security/selinux/hooks.c')
-rw-r--r-- | security/selinux/hooks.c | 5 |
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. */ |
7210 | security_initcall(selinux_init); | 7210 | DEFINE_LSM(selinux) = { |
7211 | .name = "selinux", | ||
7212 | .init = selinux_init, | ||
7213 | }; | ||
7211 | 7214 | ||
7212 | #if defined(CONFIG_NETFILTER) | 7215 | #if defined(CONFIG_NETFILTER) |
7213 | 7216 | ||