commit | 89c86576ecde504da1eeb4f4882b2189ac2f9c4a | [log] [tgz] |
---|---|---|
author | Thomas Liu <tliu@redhat.com> | Wed Jun 24 17:58:05 2009 -0400 |
committer | James Morris <jmorris@namei.org> | Thu Jun 25 08:29:16 2009 +1000 |
tree | 94674a48becd9cfde298e9fe6b58db8da28fe238 | |
parent | a893a84e8799270fbec5c3708d001650aab47138 [diff] |
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 <tliu@redhat.com> Acked-by: Eric Paris <eparis@redhat.com> Signed-off-by: James Morris <jmorris@namei.org>