]> git.ipfire.org Git - thirdparty/systemd.git/commit
namespace: rework namespace support
authorLennart Poettering <lennart@poettering.net>
Mon, 13 Aug 2012 13:27:04 +0000 (15:27 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 13 Aug 2012 13:27:04 +0000 (15:27 +0200)
commitac0930c892bc7979b4c9bc2a52e5e844650b025d
treef0388a829e7b827e0797fe5fab5ae50f79a6afcd
parent6f67a45d8e61d69bf4f75e1da3edcf9fe7d89982
namespace: rework namespace support

- don't use pivot_root() anymore, just reuse root hierarchy
- first create all mounts, then mark them read-only so that we get the
  right behaviour when people want writable mounts inside of
  read-only mounts
- don't pass invalid combinations of MS_ constants to the kernel
man/systemd.exec.xml
src/core/execute.c
src/core/namespace.c
src/core/switch-root.c
src/shared/util.c
src/test/test-ns.c