summaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorClark Williams <williams@redhat.com>2010-02-19 17:01:14 -0600
committerClark Williams <williams@redhat.com>2010-02-19 17:01:14 -0600
commitb37d385e0f4e41b27a413162c0404e588724743f (patch)
tree9cf569d711d07be6b66d9a9639e4e5bfaaed734e /INSTALL
parent553470d25de81387086e7a8ce2a107d25c7968e9 (diff)
downloadmock-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 'INSTALL')
0 files changed, 0 insertions, 0 deletions