[CRIU] [PATCH cr 0/10] Restore SID (v2)

Andrey Vagin avagin at openvz.org
Tue Jun 19 08:46:51 EDT 2012


We need to reconstruct a processes tree, because a sid can't be set,
it can be only inherit.

Thre fundamental cases exist:
* A session leader is dead
  - add a fake task
* A task is detached to init
  - add a fake task and connect it to the session leader
* A parent forked a child, then changed own sid
  - determining a sid with which the parent was born.

v2: fix according with Cyrill's comments.


More information about the CRIU mailing list