[CRIU] [PATCH 4/5] vdso: Make parasite_fixup_vdso being arch implemented

Alexander Kartashov alekskartashov at parallels.com
Fri May 31 03:38:06 EDT 2013


On 05/31/2013 10:28 AM, Cyrill Gorcunov wrote:
> diff --git a/arch/arm/vdso.c b/arch/arm/vdso.c
> index fa40fe2..26b539f 100644
> --- a/arch/arm/vdso.c
> +++ b/arch/arm/vdso.c
> @@ -1,5 +1,8 @@
>   #include <sys/types.h>
>   
> +#include "asm/parasite-syscall.h"
> +
> +#include "parasite-syscall.h"
>   #include "vdso.h"
>   #include "log.h"
>   
> @@ -15,3 +18,9 @@ int vdso_init(void)
>   {
>   	return 0;
>   }
> +
> +int parasite_fixup_vdso(struct parasite_ctl *ctl, pid_t pid,
> +			struct vm_area_list *vma_area_list)
> +{
> +	return 0;
> +}

Thank you, Cyrill, a lot.

I had to apply the following patch to make it compile on ARM:

diff --git a/arch/arm/vdso.c b/arch/arm/vdso.c
index 26b539f..eae846d 100644
--- a/arch/arm/vdso.c
+++ b/arch/arm/vdso.c
@@ -1,8 +1,10 @@
  #include <sys/types.h>
+#include <unistd.h>

-#include "asm/parasite-syscall.h"
-
+#include "compiler.h"
+#include "asm/types.h"
  #include "parasite-syscall.h"
+#include "asm/parasite-syscall.h"
  #include "vdso.h"
  #include "log.h"

Please merge the patch above into this patch.

-- 
Sincerely yours,
Alexander Kartashov

Intern
Core team

www.parallels.com

Skype: aleksandr.kartashov
Email: alekskartashov at parallels.com



More information about the CRIU mailing list