[Devel] [PATCH v5 0/6] User namespace support for upstream containers

Glauber Costa glommer at openvz.org
Fri May 17 09:26:40 PDT 2013


Kir,

In this patchset, I hope to be addressing all your concerns.  I don't use cmd_p
any longer, as you requested. I have also tried to merge most of your comments
at the main userns patch.  It is a bit massive code, so if is there still
anything that you would me to change, don't shy away. I will go back to it
ASAP.


Glauber Costa (6):
  user namespace support for upstream containers
  add user mismatch test
  allow local uid and gid to be specified at container creation
  modify tar extraction to account for user namespace
  automatically add bridge venet0 when needed
  allow for distro-specific fix ups at creation time.

 etc/dists/redhat.conf       |   1 +
 etc/dists/scripts/fixups.sh |  43 ++++++
 include/dist.h              |   2 +
 include/env.h               |   4 +-
 include/res.h               |   6 +
 include/types.h             |   1 +
 man/vzctl.8.in              |  17 +++
 scripts/vps-create.in       |  14 ++
 scripts/vps-functions.in    |   7 +
 src/lib/Makefile.am         |   3 +
 src/lib/chown_preload.c     |  93 +++++++++++++
 src/lib/create.c            |  38 ++++-
 src/lib/dist.c              |  10 +-
 src/lib/env.c               |  26 +++-
 src/lib/exec.c              |   2 +-
 src/lib/hooks_ct.c          | 329 +++++++++++++++++++++++++++++++++++++++++++-
 src/vzctl-actions.c         |   2 +
 src/vzctl.c                 |   1 +
 vzctl.spec                  |   2 +-
 19 files changed, 581 insertions(+), 20 deletions(-)
 create mode 100755 etc/dists/scripts/fixups.sh
 create mode 100644 src/lib/chown_preload.c

-- 
1.7.11.7




More information about the Devel mailing list