From: Thomas Liu Date: Wed, 24 Jun 2009 21:58:05 +0000 (-0400) Subject: selinux: clean up avc node cache when disabling selinux X-Git-Tag: v2.6.32-rc1~737^2^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89c86576ecde504da1eeb4f4882b2189ac2f9c4a;p=pandora-kernel.git selinux: clean up avc node cache when disabling selinux Added a call to free the avc_node_cache when inside selinux_disable because it should not waste resources allocated during avc_init if SELinux is disabled and the cache will never be used. Signed-off-by: Thomas Liu Acked-by: Eric Paris Signed-off-by: James Morris --- Reading git-diff-tree failed