aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2012-08-10 14:31:14 +0100
committerDaniel P. Berrange <berrange@redhat.com>2012-08-21 11:37:57 +0100
commit9136032a66156b2434c816af1d6033055dce9606 (patch)
tree13c408d5493e7c11a7174d4acbd94ce45ed97407 /.gitignore
parentHonour current sensitivity and category ranges in SELinux label generation (diff)
downloadlibvirt-9136032a66156b2434c816af1d6033055dce9606.tar.gz
libvirt-9136032a66156b2434c816af1d6033055dce9606.tar.bz2
libvirt-9136032a66156b2434c816af1d6033055dce9606.zip
Add test case for SELinux label generation
This test case validates the correct generation of SELinux labels for VMs, wrt the current process label. Since we can't actually change the label of the test program process, we create a shared library libsecurityselinuxhelper.so which overrides the getcon() and setcon() libselinux.so functions. When started the test case will check to see if LD_PRELOAD is set, and if not, it will re-exec() itself setting LD_PRELOAD=libsecurityselinuxhelper.so Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 17dcae4d7..5041ddf29 100644
--- a/.gitignore
+++ b/.gitignore
@@ -146,6 +146,7 @@
/tests/reconnect
/tests/secaatest
/tests/seclabeltest
+/tests/securityselinuxtest
/tests/sexpr2xmltest
/tests/shunloadtest
/tests/sockettest