service: add the ability for units to join other unit's PrivateNetwork= and PrivateTmp= namespaces

System Internals / systemd - Lennart Poettering [poettering.net] - 27 November 2013 13:28 UTC

613b411 service: add the ability for units to join other unit's PrivateNetwork= and PrivateTmp= namespaces
man/systemd.exec.xml | 30 ++-
man/systemd.unit.xml | 31 +++
src/core/dbus-unit.c | 1 +
src/core/execute.c | 348 +++++++++++++++++++++++++--------
src/core/execute.h | 27 ++-
src/core/load-fragment-gperf.gperf.m4 | 1 +
src/core/load-fragment.c | 8 +-
src/core/mount.c | 31 ++-
src/core/mount.h | 2 +
src/core/namespace.c | 232 +++++++++++++++++-----
src/core/namespace.h | 11 +-
src/core/service.c | 36 ++--
src/core/service.h | 3 +
src/core/socket.c | 41 ++--
src/core/socket.h | 1 +
src/core/swap.c | 34 ++--
src/core/swap.h | 2 +
src/core/unit.c | 118 ++++++++---
src/core/unit.h | 11 ++
src/machine/machinectl.c | 10 +-
src/shared/util.c | 50 -----
src/shared/util.h | 1 -
src/test/test-namespace.c | 99 ++++++++--
src/test/test-ns.c | 1 -
24 files changed, 790 insertions(+), 339 deletions(-)

Upstream: github.com


  • Share