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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index e3b4f3083dd7..2081055f6783 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -5683,6 +5683,9 @@ int selinux_disable(void)
5683 selinux_disabled = 1; 5683 selinux_disabled = 1;
5684 selinux_enabled = 0; 5684 selinux_enabled = 0;
5685 5685
5686 /* Try to destroy the avc node cache */
5687 avc_disable();
5688
5686 /* Reset security_ops to the secondary module, dummy or capability. */ 5689 /* Reset security_ops to the secondary module, dummy or capability. */
5687 security_ops = secondary_ops; 5690 security_ops = secondary_ops;
5688 5691