[CRIU] [PATCH] vdso: Don't search for VDSO page in file mappings

Pavel Emelyanov xemul at parallels.com
Thu Feb 13 04:56:09 PST 2014


Signed-off-by: Pavel Emelyanov <xemul at parallels.com>
---
 arch/x86/vdso.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/x86/vdso.c b/arch/x86/vdso.c
index 8fb89f6..fe55af4 100644
--- a/arch/x86/vdso.c
+++ b/arch/x86/vdso.c
@@ -100,6 +100,10 @@ int parasite_fixup_vdso(struct parasite_ctl *ctl, pid_t pid,
 		if (!vma_area_is(vma, VMA_AREA_REGULAR))
 			continue;
 
+		if (vma_area_is(vma, VMA_FILE_SHARED) ||
+				vma_area_is(vma, VMA_FILE_PRIVATE))
+			continue;
+
 		if ((vma->e->prot & VDSO_PROT) != VDSO_PROT)
 			continue;
 
-- 
1.8.4.2


More information about the CRIU mailing list