Skip to content
Commit 69798387 authored by Tycho Andersen's avatar Tycho Andersen Committed by Pavel Emelyanov
Browse files

ensure SIGCHLD isn't inherited as blocked



Use SIG_SETMASK instead of SIG_BLOCKMASK here in case the parent had SIGCHLD
blocked. In this case if one of the criu threads has a problem, since the
SIGCHLD is blocked, the restore simply hangs.

Signed-off-by: default avatarTycho Andersen <tycho.andersen@canonical.com>
Acked-by: default avatarAndrew Vagin <avagin@virtuozzo.com>
Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent f8d14290
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment