[CRIU] [PATCH cr 02/12] ctrools: prepare to dump pid namespace

Andrey Vagin avagin at openvz.org
Thu May 31 08:58:22 EDT 2012


Add struct pid and use it everywhere. This struct contains
two fields: pid and real_pid.

real_pid is a pid outside of the target pid namespace.
pid is in the target pid namespace

Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 cr-dump.c         |   95 ++++++++++++++++++++++++++++-------------------------
 cr-restore.c      |   48 ++++++++++++++------------
 cr-show.c         |   12 +++---
 files.c           |    4 +-
 include/crtools.h |   12 +++++-
 5 files changed, 94 insertions(+), 77 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-ctrools-prepare-to-dump-pid-namespace.patch
Type: text/x-patch
Size: 16796 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120531/de59f9f1/0002-ctrools-prepare-to-dump-pid-namespace-0001.bin


More information about the CRIU mailing list