[libvirt] [PATCH] Convert HAVE_SELINUX to WITH_SELINUX

Guido Günther agx at sigxcpu.org
Sat Mar 9 15:08:52 UTC 2013


these were missed by 63f18f378693cac6b6e33f4a8c15c20cb191c7c8
---
 src/lxc/lxc_container.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lxc/lxc_container.c b/src/lxc/lxc_container.c
index 7ec67f4..4d09791 100644
--- a/src/lxc/lxc_container.c
+++ b/src/lxc/lxc_container.c
@@ -1927,7 +1927,7 @@ static int lxcContainerSetupPivotRoot(virDomainDefPtr vmDef,
     if (lxcContainerPivotRoot(root) < 0)
         goto cleanup;
 
-#if HAVE_SELINUX
+#if WITH_SELINUX
     /* Some versions of Linux kernel don't let you overmount
      * the selinux filesystem, so make sure we kill it first
      */
@@ -2039,7 +2039,7 @@ static int lxcContainerSetupExtraMounts(virDomainDefPtr vmDef,
     if (lxcContainerIdentifyCGroups(&mounts, &nmounts, &cgroupRoot) < 0)
         goto cleanup;
 
-#if HAVE_SELINUX
+#if WITH_SELINUX
     /* Some versions of Linux kernel don't let you overmount
      * the selinux filesystem, so make sure we kill it first
      */
-- 
1.7.10.4




More information about the libvir-list mailing list