summaryrefslogtreecommitdiff
path: root/app-emulation/libvirt/files/libvirt-4.10.0-fix_apparmor_rules.patch
blob: e561bf42451fdfb031aa53a9426a37b7af2ccfd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/examples/apparmor/usr.lib.libvirt.virt-aa-helper b/examples/apparmor/usr.lib.libvirt.virt-aa-helper
index de94368..5fbae27 100644
--- a/examples/apparmor/usr.lib.libvirt.virt-aa-helper
+++ b/examples/apparmor/usr.lib.libvirt.virt-aa-helper
@@ -39,6 +39,9 @@ profile virt-aa-helper /usr/{lib,lib64}/libvirt/virt-aa-helper {
   /etc/apparmor.d/libvirt/* r,
   /etc/apparmor.d/libvirt/libvirt-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]* rw,
 
+  # Gentoo specific path for uefi firmware
+  /usr/share/edk2-ovmf/* r,
+
   # for backingstore -- allow access to non-hidden files in @{HOME} as well
   # as storage pools
   audit deny @{HOME}/.* mrwkl,