[CRIU] [PATCH 2/3] arm: add missing include file for builtin_memcpy

Chanho Park chanho61.park at samsusng.com
Thu May 30 21:55:26 EDT 2013


> -----Original Message-----
> From: criu-bounces at openvz.org [mailto:criu-bounces at openvz.org] On Behalf
> Of Alexander Kartashov
> Sent: Thursday, May 30, 2013 6:10 PM
> To: criu at openvz.org
> Subject: Re: [CRIU] [PATCH 2/3] arm: add missing include file for
> builtin_memcpy
> 
> On 05/30/2013 12:57 PM, Chanho Park wrote:
> > Signed-off-by: Chanho Park <chanho61.park at samsung.com>
> > Signed-off-by: Myungjoo Ham <myungjoo.ham at samsung.com>
> > ---
> >   arch/arm/crtools.c |    2 +-
> >   1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/arch/arm/crtools.c b/arch/arm/crtools.c index
> > 031fb81..9495448 100644
> > --- a/arch/arm/crtools.c
> > +++ b/arch/arm/crtools.c
> > @@ -17,7 +17,7 @@
> >   #include "elf.h"
> >   #include "parasite-syscall.h"
> >   #include "restorer.h"
> > -
> > +#include "asm/string.h"
> >
> >   /*
> >    * Injected syscall instruction
> builtin_memcpy() used in the function restore_fpu() must be removed from
> this file, otherwise the dumper dies because of the signal SIGSEGV.
> 
> I'll prepare prepare a patch fixing this problem and one more
> compilation problem soon.

I also found panic is occurred in the restore_fpu.
If we don't use builtin_memcpy in the restore_fpu anymore, we don't need
this patch.
Please submit/share your patch.

Best Regards,
Chanho Park.



More information about the CRIU mailing list