]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
Convert HAVE_SELINUX to WITH_SELINUX
authorGuido Günther <agx@sigxcpu.org>
Sat, 9 Mar 2013 14:56:11 +0000 (15:56 +0100)
committerGuido Günther <agx@sigxcpu.org>
Mon, 11 Mar 2013 10:42:21 +0000 (11:42 +0100)
these were missed by 63f18f378693cac6b6e33f4a8c15c20cb191c7c8

src/lxc/lxc_container.c

index 7ec67f43a901c61050571df750b2e95fa3b7ad13..4d097911a6d67a670c045400b0fb0f247a9a93a7 100644 (file)
@@ -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
      */