aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/avc.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/selinux/avc.c')
-rw-r--r--security/selinux/avc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/security/selinux/avc.c b/security/selinux/avc.c
index 7823e84dbe8d..236aaa2ea86d 100644
--- a/security/selinux/avc.c
+++ b/security/selinux/avc.c
@@ -970,3 +970,9 @@ u32 avc_policy_seqno(void)
970{ 970{
971 return avc_cache.latest_notif; 971 return avc_cache.latest_notif;
972} 972}
973
974void avc_disable(void)
975{
976 if (avc_node_cachep)
977 kmem_cache_destroy(avc_node_cachep);
978}