[CRIU] [PATCH cr 2/8] pstree: simplify access to pid, real_pid, born_sid

Andrey Vagin avagin at openvz.org
Wed Jun 13 07:35:32 EDT 2012


I'm bored to write pi->pid.pid or pi->pid.read_pid. struct pid is
required in one place for restoring name-spaces and it will be created
there.

born_sid will be appear in folloing patches.

Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 cr-dump.c         |   70 +++++++++++++++++++++++++++-------------------------
 cr-restore.c      |   38 ++++++++++++++--------------
 cr-show.c         |    8 +++---
 files.c           |    4 +-
 include/crtools.h |    8 +++---
 5 files changed, 65 insertions(+), 63 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-pstree-simplify-access-to-pid-real_pid-born_sid.patch
Type: text/x-patch
Size: 14539 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120613/0b0c712b/0002-pstree-simplify-access-to-pid-real_pid-born_sid-0001.bin


More information about the CRIU mailing list