Commit 86888677 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

vdso: x86 -- Skip areas with known not to be vdso

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Tested-by: 's avatarAlexander Kartashov <alekskartashov@parallels.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 5e5b8215
......@@ -126,6 +126,9 @@ int parasite_fixup_vdso(struct parasite_ctl *ctl, pid_t pid,
if ((vma->vma.prot & VDSO_PROT) != VDSO_PROT)
continue;
if (vma->vma.start > TASK_SIZE)
continue;
/*
* I need to poke every potentially marked vma,
* otherwise if task never called for vdso functions
......
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