[libvirt] [PATCH 4/8] apparmor, virt-aa-helper: Allow access to libnl-3 config files

Guido Günther agx at sigxcpu.org
Fri May 19 07:50:11 UTC 2017


On Thu, May 18, 2017 at 10:53:42AM +0200, Stefan Bader wrote:
> From: Felix Geyer <fgeyer at debian.org>
> 
> Allow access to libnl-3 config files
> 
> Signed-off-by: Christian Ehrhardt <christian.ehrhardt at canonical.com>
> Signed-off-by: Stefan Bader <stefan.bader at canonical.com>
> Acked-by: Guido Günther <agx at sigxcpu.org>
> ---
>  examples/apparmor/usr.lib.libvirt.virt-aa-helper | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/examples/apparmor/usr.lib.libvirt.virt-aa-helper b/examples/apparmor/usr.lib.libvirt.virt-aa-helper
> index 4a8f197..ee53c2c 100644
> --- a/examples/apparmor/usr.lib.libvirt.virt-aa-helper
> +++ b/examples/apparmor/usr.lib.libvirt.virt-aa-helper
> @@ -16,6 +16,8 @@ profile virt-aa-helper /usr/{lib,lib64}/libvirt/virt-aa-helper {
>    owner @{PROC}/[0-9]*/status r,
>    @{PROC}/filesystems r,
>  
> +  /etc/libnl-3/classid r,
> +
>    # for hostdev
>    /sys/devices/ r,
>    /sys/devices/** r,
> -- 

Pushed. Thanks!
 -- Guido




More information about the libvir-list mailing list