[CRIU] [PATCH cr 01/11] crtools: add "pid" to the --namespaces cmdline option arguments (v3)

Andrey Vagin avagin at openvz.org
Thu Jun 21 16:38:55 EDT 2012


to require dumping pid namespace. Dump and restore will be failed if
a tress doesn't contain a process init.

pid namespace will be created implicitly if a process init in the tree.

v2: fix comments from Pavel
v3: Restore of pidns should be approved by user

Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 cr-dump.c    |    5 +----
 cr-restore.c |   15 +++++++++++----
 crtools.c    |    4 +++-
 namespaces.c |    5 +++++
 test/zdtm.sh |    4 ++++
 5 files changed, 24 insertions(+), 9 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-crtools-add-pid-to-the-namespaces-cmdline-option-arg.patch
Type: text/x-patch
Size: 3252 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120622/445ef1cc/0001-crtools-add-pid-to-the-namespaces-cmdline-option-arg.bin


More information about the CRIU mailing list