[CRIU] [PATCH] pstree: Restore task group leader when inherit SID
Cyrill Gorcunov
gorcunov at gmail.com
Fri Jan 18 20:38:33 MSK 2019
On Fri, Jan 18, 2019 at 12:43:14AM +0000, Radostin Stoyanov wrote:
> The current behaviour of CRIU is to inherit the group leader of the
> parent process when migrating a session leader (with --shell-job).
> However, it is possible for a process to be group leader without being
> a session leader (e.g. a shell process). In this case CRIU should
> restore the original group ID of the process and inherit only the
> session ID.
>
> Closes #593
>
> Signed-off-by: Radostin Stoyanov <rstoyanov1 at gmail.com>
Reviewed-by: Cyrill Gorcunov <gorcunov at gmail.com>
More information about the CRIU
mailing list