|
@@ -5830,12 +5830,12 @@ int selinux_disable(void)
|
|
|
selinux_disabled = 1;
|
|
selinux_disabled = 1;
|
|
|
selinux_enabled = 0;
|
|
selinux_enabled = 0;
|
|
|
|
|
|
|
|
- /* Try to destroy the avc node cache */
|
|
|
|
|
- avc_disable();
|
|
|
|
|
-
|
|
|
|
|
/* Reset security_ops to the secondary module, dummy or capability. */
|
|
/* Reset security_ops to the secondary module, dummy or capability. */
|
|
|
security_ops = secondary_ops;
|
|
security_ops = secondary_ops;
|
|
|
|
|
|
|
|
|
|
+ /* Try to destroy the avc node cache */
|
|
|
|
|
+ avc_disable();
|
|
|
|
|
+
|
|
|
/* Unregister netfilter hooks. */
|
|
/* Unregister netfilter hooks. */
|
|
|
selinux_nf_ip_exit();
|
|
selinux_nf_ip_exit();
|
|
|
|
|
|