[CRIU] Bad commit

Cyrill Gorcunov gorcunov at gmail.com
Thu Aug 14 07:24:33 PDT 2014


On Thu, Aug 14, 2014 at 06:19:55PM +0400, Pavel Emelyanov wrote:
> >>
> >> OTOH we need this CLONE_PARENT trick only when the root task has the
> >> pdeath_sig set up. Can we relax the if () to only do the CLONE_PARENT
> >> if the detach is requested and pdeath_sig is set up?
> > 
> > you mean to walk over thread_core->pdeath_sig entries to find if it's set?
> 
> Now walk, just check the one at root task. Do we have the core entry
> ready at that point?

Nope. We read core just in fork_with_pid :)

	Cyrill


More information about the CRIU mailing list