[CRIU] [PATCH cr 6/8] restore: restore sid of task which isn't
leaders and isn't a child of init
Andrey Vagin
avagin at openvz.org
Wed Jun 13 07:35:36 EDT 2012
It's sign, that a parent has been changed sid after forking a child.
We should know a sid with which a process was born, because in a processes
chain, more then one process might change SID.
Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
cr-restore.c | 52 +++++++++++++++++++++++++++++++++++++++++++++++-----
include/crtools.h | 5 ++++-
2 files changed, 51 insertions(+), 6 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-restore-restore-sid-of-task-which-isn-t-leaders-and-.patch
Type: text/x-patch
Size: 2549 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120613/d3571783/0006-restore-restore-sid-of-task-which-isn-t-leaders-and-.bin
More information about the CRIU
mailing list