]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
apparmor: cater for new AAVMF image location
authorGuido Günther <agx@sigxcpu.org>
Fri, 15 Sep 2017 16:04:21 +0000 (18:04 +0200)
committerGuido Günther <agx@sigxcpu.org>
Mon, 18 Sep 2017 17:06:53 +0000 (19:06 +0200)
Things moved again, sigh.

Reviewed-By: Jamie Strandboge <jamie@canonical.com>
Michal Privoznik <mprivozn@redhat.com>

src/security/virt-aa-helper.c

index 322c5e435865ce5549adf6ad6da1993e20c76d76..7944dc1983cff3772dfd85b875ccaa653081d520 100644 (file)
@@ -516,7 +516,8 @@ valid_path(const char *path, const bool readonly)
         "/usr/share/OVMF/",              /* for OVMF images */
         "/usr/share/ovmf/",              /* for OVMF images */
         "/usr/share/AAVMF/",             /* for AAVMF images */
-        "/usr/share/qemu-efi/"           /* for AAVMF images */
+        "/usr/share/qemu-efi/",          /* for AAVMF images */
+        "/usr/share/qemu-efi-aarch64/"   /* for AAVMF images */
     };
     /* override the above with these */
     const char * const override[] = {