Commit 3a3f3c79 authored by Pavel Emelyanov's avatar Pavel Emelyanov

vdso: Don't search for VDSO page in file mappings

Acked-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 01e88d1c
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment