mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 06:50:22 +03:00
security: apparmor: Allow RO /usr/share/edk2/
On Fedora, already whitelisted paths to AAVMF and OVMF binaries are symlinks to binaries under /usr/share/edk2/. Add that directory to the RO whitelist so virt-aa-helper-test passes Reviewed-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
4d95f557d6
commit
4dfc4d525e
@ -505,6 +505,7 @@ valid_path(const char *path, const bool readonly)
|
||||
"/vmlinuz",
|
||||
"/initrd",
|
||||
"/initrd.img",
|
||||
"/usr/share/edk2/",
|
||||
"/usr/share/OVMF/", /* for OVMF images */
|
||||
"/usr/share/ovmf/", /* for OVMF images */
|
||||
"/usr/share/AAVMF/", /* for AAVMF images */
|
||||
|
Loading…
x
Reference in New Issue
Block a user