[CRIU] [PATCH] cr-dump: wait killed processes

Pavel Emelyanov xemul at parallels.com
Mon Jul 13 04:57:51 PDT 2015


On 07/07/2015 03:47 PM, Andrey Vagin wrote:
> The kill syscall queues a signal, but doesn't wait when it will be
> handled.
> 
> We need to wait processes if we kill them. The user doesn't
> expect to find processes after dump in this case.
> 
> PTRACE_DETACH returns errors for dead tasks, so we don't need to do it
> in these cases.
> 
> Cc: Nikita Spiridonov <nspiridonov at odin.com>
> Signed-off-by: Andrey Vagin <avagin at openvz.org>

Applied



More information about the CRIU mailing list