[CRIU] [PATCH] pstree: Restore task group leader when inherit SID

Cyrill Gorcunov gorcunov at gmail.com
Fri Jan 18 10:30:11 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>

Good catch! Will try to review more carefully today.


More information about the CRIU mailing list