pstree: don't replace sid if the root task is a session leader
The root task must remain a session leader after c/r. The root task can be executed in another pidns and the sid from another name space will be invalid. Cc: Cyrill Gorcunov <gorcunov@openvz.org> Reported-by:Pavel Emelyanov <xemul@parallels.com> Signed-off-by:
Andrey Vagin <avagin@openvz.org> Acked-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
Showing
Please
register
or
sign in
to comment