|
From: <sv...@va...> - 2005-11-11 08:39:36
|
Author: tom
Date: 2005-11-11 08:39:34 +0000 (Fri, 11 Nov 2005)
New Revision: 5079
Log:
Suppress AT_SYSINFO in the auxiliary vector because it contains a
pointer to the system call routine in the sysinfo page and older
versions of glibc will use it. Fixex bug #115496.
Modified:
trunk/coregrind/m_main.c
Modified: trunk/coregrind/m_main.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_main.c 2005-11-11 02:35:41 UTC (rev 5078)
+++ trunk/coregrind/m_main.c 2005-11-11 08:39:34 UTC (rev 5079)
@@ -513,7 +513,6 @@
case AT_EGID:
case AT_CLKTCK:
case AT_FPUCW:
- case AT_SYSINFO:
/* All these are pointerless, so we don't need to do
anything about them. */
break;
@@ -586,12 +585,13 @@
auxv->u.a_val =3D 0;
break;
=20
+ case AT_SYSINFO:
# if !defined(VGP_ppc32_linux)
case AT_SYSINFO_EHDR:
+# endif
/* Trash this, because we don't reproduce it */
auxv->a_type =3D AT_IGNORE;
break;
-# endif
=20
default:
/* stomp out anything we don't know about */
|