]> xenbits.xensource.com Git - libvirt.git/commit
security: apparmor: load the storage driver dynamically
authorPeter Krempa <pkrempa@redhat.com>
Wed, 26 Jul 2017 19:57:23 +0000 (21:57 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 27 Jul 2017 10:00:35 +0000 (12:00 +0200)
commit6cf7fc573f8c03530fb9db18dca61243fa619feb
tree19fdf8733864374de3182e185918a3865269d523
parent5aec02dc37623bf739d1edd8f2be3e4ad9f94ff5
security: apparmor: load the storage driver dynamically

In commit 5e515b542d I've attempted to fix the inability to access
storage from the apparmor helper program by linking with the storage
driver. By linking with the .so the linker complains that it's not
portable. Fix this by loading the module dynamically as we are supposed
to do.

Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
src/Makefile.am
src/security/virt-aa-helper.c