[CRIU] [PATCH 5/4] [v2] arm: don't access the sigframe argument in the ARM version of sigreturn_prep_fpu_frame()

Andrew Vagin avagin at parallels.com
Fri May 31 08:16:37 EDT 2013


On Fri, May 31, 2013 at 03:18:42PM +0400, Alexander Kartashov wrote:
> The argument sigframe of the function isn't valid in the dumper
> address space when this function is called from construct_sigframe().
> 
> Signed-off-by: Alexander Kartashov <alekskartashov at parallels.com>
> ---
>  arch/arm/crtools.c |    1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/arch/arm/crtools.c b/arch/arm/crtools.c
> index 721b37d..f70fd11 100644
> --- a/arch/arm/crtools.c
> +++ b/arch/arm/crtools.c
> @@ -259,7 +259,6 @@ int sigreturn_prep_fpu_frame(struct rt_sigframe *sigframe, fpu_state_t *fpu_stat
>  
>  	aux->vfp.magic = VFP_MAGIC;
>  	aux->vfp.size = VFP_STORAGE_SIZE;
> -	builtin_memcpy(&aux->vfp.ufp, &fpu_state->ufp, sizeof(aux->vfp.ufp));
Where will aux->vfp.ufp be filled?
>  
>  	return 0;
>  }
> -- 
> 1.7.10.4
> 
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu


More information about the CRIU mailing list