[libvirt] [PATCH v2 4/5] Add support for sVirt in the LXC driver
Eric Blake
eblake at redhat.com
Wed Feb 1 18:39:17 UTC 2012
On 01/25/2012 07:12 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
>
> For the sake of backwards compat, LXC guests are *not*
> confined by default. This is because it is not practical
> to dynamically relabel containers using large filesystem
> trees. Applications can create confined containers though,
> by giving suitable XML configs
>
> * src/Makefile.am: Link libvirt_lxc to security drivers
> * src/lxc/libvirtd_lxc.aug, src/lxc/lxc_conf.h,
> src/lxc/lxc_conf.c, src/lxc/lxc.conf,
> src/lxc/test_libvirtd_lxc.aug: Config file handling for
> security driver
> * src/lxc/lxc_driver.c: Wire up security driver functions
> * src/lxc/lxc_controller.c: Add a '--security' flag to
> specify which security driver to activate
> * src/lxc/lxc_container.c, src/lxc/lxc_container.h: Set
> the process label just before exec'ing init.
> ---
> src/Makefile.am | 13 +++
> src/lxc/libvirtd_lxc.aug | 15 +++-
> src/lxc/lxc.conf | 18 ++++
> src/lxc/lxc_conf.c | 62 ++++++++++++--
> src/lxc/lxc_conf.h | 8 ++-
> src/lxc/lxc_container.c | 9 ++-
> src/lxc/lxc_container.h | 2 +
> src/lxc/lxc_controller.c | 28 +++++-
> src/lxc/lxc_driver.c | 193 ++++++++++++++++++++++++++++++++++++++++-
> src/lxc/test_libvirtd_lxc.aug | 2 +
> 10 files changed, 335 insertions(+), 15 deletions(-)
>
ACK.
--
Eric Blake eblake at redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120201/0e9aae4b/attachment-0001.sig>
More information about the libvir-list
mailing list