parasite: use only one command for executing parasite in a daemon mode
If a kernel supports PTRACE_SETSIGMASK, criu don't need to execute PARASITE_CMD_INIT and PARASITE_CMD_DAEMONIZE, because the frist command is used only for blocking signals. If criu crashes between these commands, a process state will be corrupted, because all signals remain blocked. Signed-off-by:Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
Showing
Please
register
or
sign in
to comment