[libvirt] [PATCH] apparmor: Finish incomplete renaming of relabel to norelabel

Matthias Bolte matthias.bolte at googlemail.com
Wed Jul 6 12:16:30 UTC 2011


Commit 693eac388f1759d was incomplete here.
---

Pushing this under the build-breaker rule.

 src/security/security_apparmor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/security/security_apparmor.c b/src/security/security_apparmor.c
index 76c6e3d..6dfe8c9 100644
--- a/src/security/security_apparmor.c
+++ b/src/security/security_apparmor.c
@@ -461,7 +461,7 @@ static int
 AppArmorSetSecurityAllLabel(virSecurityManagerPtr mgr,
                             virDomainObjPtr vm, const char *stdin_path)
 {
-    if (!vm->def->seclabel.relabel)
+    if (vm->def->seclabel.norelabel)
         return 0;
 
     /* Reload the profile if stdin_path is specified. Note that
-- 
1.7.4.1




More information about the libvir-list mailing list