[PATCHv3 0/3] lxc keep/drop capabilities

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I found out that the previous versions were not building on older kernels.
Thus n lxc/lxc_container.c I added a bunch of

#ifndef CAP_XXX
#define CAP_XXX -1
#endif

And capabilities are handled later only if they are valid. I'm not sure the
lxc_container.c file is the best place to put those, but at least it's not
far away from the only place these are actually used.

Cédric Bosdonnat (3):
  lxc: allow to keep or drop capabilities
  lxc domain from xml: convert lxc.cap.drop
  lxc: update doc to mention features/capabilities/* domain
    configuration

 docs/drvlxc.html.in                                |  47 ++++
 docs/schemas/domaincommon.rng                      | 207 ++++++++++++++++++
 src/conf/domain_conf.c                             | 126 ++++++++++-
 src/conf/domain_conf.h                             |  56 +++++
 src/libvirt_private.syms                           |   3 +
 src/lxc/lxc_cgroup.c                               |   8 +
 src/lxc/lxc_container.c                            | 241 +++++++++++++++++++--
 src/lxc/lxc_native.c                               |  25 +++
 src/util/vircgroup.c                               |  74 ++++++-
 src/util/vircgroup.h                               |   2 +
 tests/domainschemadata/domain-caps-features.xml    |  28 +++
 tests/lxcconf2xmldata/lxcconf2xml-blkiotune.xml    |   2 +
 tests/lxcconf2xmldata/lxcconf2xml-cpusettune.xml   |   2 +
 tests/lxcconf2xmldata/lxcconf2xml-cputune.xml      |   2 +
 tests/lxcconf2xmldata/lxcconf2xml-idmap.xml        |   2 +
 .../lxcconf2xmldata/lxcconf2xml-macvlannetwork.xml |   4 +
 tests/lxcconf2xmldata/lxcconf2xml-memtune.xml      |   2 +
 tests/lxcconf2xmldata/lxcconf2xml-nonenetwork.xml  |   4 +
 tests/lxcconf2xmldata/lxcconf2xml-nonetwork.xml    |   2 +
 tests/lxcconf2xmldata/lxcconf2xml-physnetwork.xml  |   4 +
 tests/lxcconf2xmldata/lxcconf2xml-simple.xml       |   8 +
 tests/lxcconf2xmldata/lxcconf2xml-vlannetwork.xml  |   4 +
 22 files changed, 828 insertions(+), 25 deletions(-)
 create mode 100644 tests/domainschemadata/domain-caps-features.xml

-- 
1.8.4.5

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]