mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
Convert HAVE_SELINUX to WITH_SELINUX
these were missed by 63f18f378693cac6b6e33f4a8c15c20cb191c7c8
This commit is contained in:
parent
6082bc27d0
commit
531b4fe8d0
@ -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
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user