[CRIU] [PATCH 0/2] Support C/R of pdeath signal

Andrew Vagin avagin at parallels.com
Mon Jun 30 03:27:42 PDT 2014


On Mon, Jun 30, 2014 at 01:35:45PM +0400, Pavel Emelyanov wrote:
> On 06/30/2014 12:17 PM, Andrew Vagin wrote:
> > On Fri, Jun 27, 2014 at 07:25:18PM +0400, Pavel Emelyanov wrote:
> >> This thing seem to be used by docker and lxc, so it
> >> makes perfect sense to support it now, all the more
> >> so kernel already has get and set calls for it.
> > 
> > Can a death signal be restored for the root task, if I use your recent
> > interface for restoring tasks (subreaper and exec(criu))?
> 
> Of course, it's restored in pie/restorer.c for every single
> task in tree including the root one.

I want to say that now a death signal is restored when the "criu
restore" process is still alive. Then criu exits, but it's parent for
the root task, so the root task will be killed by the death signal.



More information about the CRIU mailing list