[CRIU] pstree C/R problems

Andrey Vagin avagin at parallels.com
Fri Sep 28 14:31:22 EDT 2012


> About born_sid mechanics? Andrey (in Cc) will help.
> 
> >>> I think we may also need a helper for root task, of course have other things to consider.
> >>>
> >>> BTW, the born_sid mechanism seems didn't do any really work for rebuild the pstree,
> >>> but for the check. We may neither support the tree like this:
> >>>         pid = 5
> >>>         sid = 5
> >>>            /
> >>>           /
> >>>       pid = 7
> >>>       sid = 6
> >>>          /
> >>>         /
> >>>     pid = 9
> >>>     sid = 8
> >>>
> >>> Right?
> >>>
> >>> Since I didn't find any scheme for the the problems I mentioned above in the TODO
> >>> list, if you guys have any plan or thoughts, could you share them here?
> >>> And maybe I can help to do this work.

Hello,

How can such a tree be constructed? Could you create a unit test for this
situation? You can take test/zdtm/live/static/session01.c as an example.
The next command executes this test:
bash -x test//zdtm.sh ns/static/session01

Thanks.


More information about the CRIU mailing list