diff options
author | Thomas Liu <tliu@redhat.com> | 2009-06-24 23:58:05 +0200 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2009-06-25 00:29:16 +0200 |
commit | 89c86576ecde504da1eeb4f4882b2189ac2f9c4a (patch) | |
tree | 94674a48becd9cfde298e9fe6b58db8da28fe238 /drivers/leds/leds-bd2802.c | |
parent | mm_for_maps: simplify, use ptrace_may_access() (diff) | |
download | linux-89c86576ecde504da1eeb4f4882b2189ac2f9c4a.tar.xz linux-89c86576ecde504da1eeb4f4882b2189ac2f9c4a.zip |
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>
Diffstat (limited to 'drivers/leds/leds-bd2802.c')
0 files changed, 0 insertions, 0 deletions