]> xenbits.xensource.com Git - libvirt.git/commit
security: apparmor: Properly link with storage driver in helper program
authorPeter Krempa <pkrempa@redhat.com>
Tue, 18 Jul 2017 07:43:41 +0000 (09:43 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 19 Jul 2017 07:54:51 +0000 (09:54 +0200)
commit5e515b542d7f0940396c74bf8f6cb337d5d0dcc5
treec1323fc93f4bb800d127049954b13d6bf6359051
parent8ae82e676a49476d0201c104ad789dea4ceffc61
security: apparmor: Properly link with storage driver in helper program

The refactor to split up storage driver into modules broke the apparmor
helper program, since that did not initialize the storage driver
properly and thus detection of the backing chain could not work.

Register the storage driver backends explicitly. Unfortunately it's now
necessary to link with the full storage driver to satisfy dependencies
of the loadable modules.

Reviewed-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Reported-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Tested-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
src/Makefile.am
src/security/virt-aa-helper.c