[CRIU] [PATCH cr 01/10] ctrools: prepare to dump pid namespace

Andrey Vagin avagin at openvz.org
Fri May 18 11:40:40 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: 0001-ctrools-prepare-to-dump-pid-namespace.patch
Type: text/x-patch
Size: 16748 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120518/0607af24/0001-ctrools-prepare-to-dump-pid-namespace-0001.bin


More information about the CRIU mailing list