[CRIU] [PATCH] restore: Set CLONE_PARENT iif pdeath_sig is present

Cyrill Gorcunov gorcunov at gmail.com
Thu Aug 14 08:40:41 PDT 2014


On Thu, Aug 14, 2014 at 07:38:22PM +0400, Pavel Emelyanov wrote:
> > -	if (opts.swrk_restore || opts.restore_detach)
> > -		init->rst->clone_flags |= CLONE_PARENT;
> 
> There are 2 more places that check for swrk_restore || restore_detach.
> We need to fix them too, since CLONE_PARENT and these other two do things,
> that depend on each-other.

Oh, sh*. Thanks, I'll address.


More information about the CRIU mailing list