]> xenbits.xensource.com Git - libvirt.git/commit
LXC driver: generate apparmor profiles for guests
authorCédric Bosdonnat <cedric.bosdonnat@free.fr>
Mon, 3 Mar 2014 10:26:42 +0000 (11:26 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 4 Mar 2014 11:07:05 +0000 (11:07 +0000)
commit43c030f046932b728fcfd2c3dd5fe5f01b707df4
treebb6b0ab7f62fa3eb854ed4df40693f4189e2f37a
parenta31bd18f43b70882942bddcced67adf5fa892f9a
LXC driver: generate apparmor profiles for guests

use_apparmor() was first designed to be called from withing libvirtd,
but libvirt_lxc also uses it. in libvirt_lxc, there is no need to check
whether to use apparmor or not: just use it if possible.
examples/apparmor/Makefile.am
examples/apparmor/TEMPLATE
examples/apparmor/libvirt-lxc [new file with mode: 0644]
src/security/security_apparmor.c
src/security/virt-aa-helper.c