]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
security: aa-helper: allow virt-aa-helper to read .vhd images
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>
Wed, 3 Jul 2019 10:44:31 +0000 (12:44 +0200)
committerChristian Ehrhardt <christian.ehrhardt@canonical.com>
Mon, 15 Jul 2019 11:43:51 +0000 (13:43 +0200)
VHD images can be used as any other, so we should add them to the list
of types that virt-aa-helper can read when creating the per-guest rules
for backing files.

Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Acked-by: Jamie Strandboge <jamie@canonical.com>
src/security/apparmor/usr.lib.libvirt.virt-aa-helper

index 78994bcda600a158de7b8757f8925930d37f90e7..bf6bd297d195cfabf77785894ba25508ee30758c 100644 (file)
@@ -63,6 +63,7 @@ profile virt-aa-helper /usr/{lib,lib64}/libvirt/virt-aa-helper {
   /**.qcow{,2} r,
   /**.qed r,
   /**.vmdk r,
+  /**.vhd r,
   /**.[iI][sS][oO] r,
   /**/disk{,.*} r,