[CRIU] Re: [PATCH cr 0/11] Restore SID (v4)

Pavel Emelyanov xemul at parallels.com
Fri Jun 22 04:16:03 EDT 2012


On 06/22/2012 12:38 AM, Andrey Vagin wrote:
> 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.
> v3: fix according with Pavel's comments.

All applied, thanks!


More information about the CRIU mailing list