Fix problem with FC2's vdso (sysinfo) page, which lives at a low,
random address. This gets unmapped as part of the client setup, and
causes syscalls to fail as a result. This patch simply disregards the
sysinfo page. It seems like a blunt fix, but I don't think anything
depends on a sysinfo page.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2412 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/stage1.c b/coregrind/stage1.c
index c11a174..389e2c6 100644
--- a/coregrind/stage1.c
+++ b/coregrind/stage1.c
@@ -132,6 +132,11 @@
seen |= 8;
auxv->u.a_val = info->entry;
break;
+
+ case AT_SYSINFO:
+ case AT_SYSINFO_EHDR:
+ auxv->a_type = AT_IGNORE;
+ break;
}
}