[CRIU] [PATCH] criu: allow the root task to handle SIGCHLD
Pavel Emelyanov
xemul at parallels.com
Thu Aug 14 06:10:18 PDT 2014
On 08/14/2014 04:52 PM, Andrey Vagin wrote:
> The criu process attaches to the root task, if opts.swrk_restore
> opts.restore_detach is set. In this case ptrace will ask permissions to
> handle signals.
>
> This patch fixes the following error of static/zombie00:
>
> Execute zdtm/live/static/zombie00
> ./zombie00 --pidfile=zombie00.pid --outfile=zombie00.out
> Dump 2207
> Restore
> Test: zdtm/live/static/zombie00, Result: FAIL
> ==================================== ERROR ====================================
> Restore log: /root/git/orig/criu/test/dump/static/zombie00/2207/1/restore.log
> (00.026826) Error (cr-restore.c:1085): 2207 killed by signal 17
> (00.026985) Error (cr-restore.c:1706): Restoring FAILED.
> ================================= ERROR OVER =================================
>
> Reported-by: Mr Jenkins
> Cc: Pavel Emelyanov <xemul at parallels.com>
> Cc: Tycho Andersen <tycho.andersen at canonical.com>
> Signed-off-by: Andrey Vagin <avagin at openvz.org>
Applied, thanks a lot!
More information about the CRIU
mailing list