[PATCH v3 1/3] apparmor: Reflect paths from configure in profiles

Daniel P. Berrangé berrange at redhat.com
Mon Feb 3 16:48:52 UTC 2020


On Thu, Jan 30, 2020 at 03:12:30PM +0100, Michal Privoznik wrote:
> The configure script allows users to specify different paths for
> /etc/, /usr/sbin/, /var/run/ and /usr/libexec/. Instead of
> assuming user will pass expected value, generate the apparmor
> profiles using the actual values.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/security/Makefile.inc.am                  | 29 +++++++++++++++----
>  ...lper => usr.lib.libvirt.virt-aa-helper.in} | 10 +++----
>  ...usr.sbin.libvirtd => usr.sbin.libvirtd.in} | 12 ++++----
>  3 files changed, 35 insertions(+), 16 deletions(-)
>  rename src/security/apparmor/{usr.lib.libvirt.virt-aa-helper => usr.lib.libvirt.virt-aa-helper.in} (85%)
>  rename src/security/apparmor/{usr.sbin.libvirtd => usr.sbin.libvirtd.in} (94%)

Reviewed-by: Daniel P. Berrangé <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