[libvirt] [PATCH 2/2] security: apparmor: load the storage driver dynamically
Daniel P. Berrange
berrange at redhat.com
Thu Jul 27 09:23:06 UTC 2017
On Wed, Jul 26, 2017 at 10:12:14PM +0200, Peter Krempa wrote:
> 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.
> ---
>
> Notes:
> This patch is possible even with the previous patch, but it would be slightly
> more complex, since it would need the logic to determine whether to load the
> module or just initialize it.
>
> src/Makefile.am | 2 +-
> src/security/virt-aa-helper.c | 10 +++++-----
> 2 files changed, 6 insertions(+), 6 deletions(-)
Reviewed-by: Daniel P. Berrange <berrange at redhat.com>
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
More information about the libvir-list
mailing list