Re: [PATCH] Convert HAVE_SELINUX to WITH_SELINUX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2013年03月09日 23:08, Guido Günther wrote:
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
       */

ACK.

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]