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

Cyrill Gorcunov gorcunov at gmail.com
Thu Aug 14 10:54:17 PDT 2014


On Thu, Aug 14, 2014 at 09:48:25PM +0400, Andrew Vagin wrote:
> >  static inline int fork_with_pid(struct pstree_item *item)
> >  {
> >  	int ret = -1, fd;
> > @@ -951,6 +982,9 @@ static inline int fork_with_pid(struct pstree_item *item)
> >  			pr_err("Unknown task state %d\n", item->state);
> >  			return -1;
> >  		}
> > +
> > +		if (unlikely(item->pid.virt != INIT_PID))
> 
> == ?

thanks, forgot to merge update. attached


More information about the CRIU mailing list