X-Git-Url: http://ftp.safe.ca/?p=safe%2Fjmp%2Flinux-2.6;a=blobdiff_plain;f=security%2Fselinux%2Favc.c;h=236aaa2ea86d491bcf77ef50d36ea71de877af6c;hp=7823e84dbe8d22abe10e7180a3312320741e257a;hb=89c86576ecde504da1eeb4f4882b2189ac2f9c4a;hpb=a893a84e8799270fbec5c3708d001650aab47138 diff --git a/security/selinux/avc.c b/security/selinux/avc.c index 7823e84..236aaa2 100644 --- a/security/selinux/avc.c +++ b/security/selinux/avc.c @@ -970,3 +970,9 @@ u32 avc_policy_seqno(void) { return avc_cache.latest_notif; } + +void avc_disable(void) +{ + if (avc_node_cachep) + kmem_cache_destroy(avc_node_cachep); +}