[CRIU] [PATCH 0/3] rework init child-reaper reparent handling

Pavel Tikhomirov ptikhomirov at virtuozzo.com
Wed Feb 8 00:55:20 PST 2017


Consider one more missed case left, add test for it and
prepare to use these code in pid namespaces.

That is not yet fully correct restore of process tree, it is
just a simple case where we do not have child sub-reapers,
only one child reaper in each pidns.

Pavel Tikhomirov (3):
  pstree: add for_each_pssubtree_item helper to walk only root's subtree
  pstree: rework init reparent handling for later use in pid namespaces
  zdtm: add test for new init reparent handling

 criu/include/pstree.h        |   3 +
 criu/pstree.c                | 184 +++++++++++++++++++++++++++----------------
 test/zdtm/static/session01.c |  12 ++-
 3 files changed, 129 insertions(+), 70 deletions(-)

-- 
2.9.3



More information about the CRIU mailing list