[CRIU] [PATCH cr 0/6] Restore PGID

Andrey Vagin avagin at openvz.org
Mon Jul 2 03:42:04 EDT 2012


PGID is restored in two phases.
Process group leaders are restored at the first phase,
then all other processes restore PGID-s.

Andrey Vagin (6):
  zdtm: copy futex engine from crtools
  zdtm: add ability to set id of a test proccess
  zdtm: add a test case for checking sid and pgid
  restore: wait while restroring pgid
  restore: restore pgid in two phases
  restore: create fake process group leaders

 cr-restore.c                      |   21 +++-
 include/restorer.h                |    1 +
 pstree.c                          |   29 ++++
 test/zdtm/lib/atomic.h            |   42 +++++
 test/zdtm/lib/lock.h              |  135 +++++++++++++++
 test/zdtm/lib/test.c              |    8 +-
 test/zdtm/lib/zdtmtst.h           |    3 +-
 test/zdtm/live/static/Makefile    |    1 +
 test/zdtm/live/static/session01.c |  337 +++++++++++++++++++++++++++++++++++++
 9 files changed, 572 insertions(+), 5 deletions(-)
 create mode 100644 test/zdtm/lib/atomic.h
 create mode 100644 test/zdtm/lib/lock.h
 create mode 100644 test/zdtm/live/static/session01.c


More information about the CRIU mailing list