]> xenbits.xensource.com Git - libvirt.git/commit
security: apparmor: Push virStorageSource checks to add_file_path
authorCole Robinson <crobinso@redhat.com>
Tue, 8 Oct 2019 15:55:24 +0000 (11:55 -0400)
committerCole Robinson <crobinso@redhat.com>
Wed, 9 Oct 2019 18:17:16 +0000 (14:17 -0400)
commitc7eea3f559340723d5200278105d63eb3c686561
treedfeb0389839d5444a6c867762465e6b75502c0a4
parent7c0bf48bc9ec1d1974b3d32d27a688da3cf37191
security: apparmor: Push virStorageSource checks to add_file_path

This mirrors the code layout in security_selinux.c. It will also make
it easier to share the checks for qcow2 external data_file support
eventually

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Cole Robinson <crobinso@redhat.com>
src/security/virt-aa-helper.c