[CRIU] [PATCH 12/13] restore: Add restoration of the blocked threads signals from the image
    Pavel Emelyanov 
    xemul at parallels.com
       
    Wed Nov  7 08:36:40 EST 2012
    
    
  
On 11/07/2012 05:00 PM, Cyrill Gorcunov wrote:
> 
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> ---
>  cr-restore.c       |    2 ++
>  include/restorer.h |    3 +++
>  restorer.c         |    3 +++
>  3 files changed, 8 insertions(+), 0 deletions(-)
> 
> @@ -199,6 +199,9 @@ static int restore_thread_common(struct rt_sigframe *sigframe,
>  		}
>  	}
>  
> +	if (args->has_blk_sigset)
> +		sigframe->uc.uc_sigmask.sig[0] = args->blk_sigset;
> +
>  	restore_sched_info(&args->sp);
>  
>  	return restore_gpregs(sigframe, &args->gpregs);
I've already commented it.
    
    
More information about the CRIU
mailing list