[CRIU] [PATCH 5/4] [v2] arm: don't access the sigframe argument in the ARM version of sigreturn_prep_fpu_frame()
Alexander Kartashov
alekskartashov at parallels.com
Fri May 31 07:18:42 EDT 2013
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));
return 0;
}
--
1.7.10.4
More information about the CRIU
mailing list