]> xenbits.xensource.com Git - libvirt.git/commitdiff
apparmor: Finish incomplete renaming of relabel to norelabel
authorMatthias Bolte <matthias.bolte@googlemail.com>
Wed, 6 Jul 2011 12:15:05 +0000 (14:15 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Wed, 6 Jul 2011 12:15:05 +0000 (14:15 +0200)
Commit 693eac388f1759d was incomplete here.

src/security/security_apparmor.c

index 76c6e3d45d55526081d7d963067a23f6c23d2e25..6dfe8c93945d87d643dd5f6f3f7a1b16b08c507c 100644 (file)
@@ -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