diff options
author | Clark Williams <williams@redhat.com> | 2010-02-19 17:01:14 -0600 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2010-02-19 17:01:14 -0600 |
commit | b37d385e0f4e41b27a413162c0404e588724743f (patch) | |
tree | 9cf569d711d07be6b66d9a9639e4e5bfaaed734e /configure.ac | |
parent | 553470d25de81387086e7a8ce2a107d25c7968e9 (diff) | |
download | mock-b37d385e0f4e41b27a413162c0404e588724743f.tar.gz mock-b37d385e0f4e41b27a413162c0404e588724743f.tar.xz mock-b37d385e0f4e41b27a413162c0404e588724743f.zip |
add utility function to detect SELinux status and use it
Add a utility function selinuxEnabled() that returns true
if SELinux is enabled on the host and false otherwise. Use
this in _setupDev() method of the Root object to avoid shelling
out unnecessarily to 'chcon'.
Signed-off-by: Clark Williams <williams@redhat.com>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions