|
From: <sv...@va...> - 2005-11-05 15:13:28
|
Author: sewardj
Date: 2005-11-05 15:13:23 +0000 (Sat, 05 Nov 2005)
New Revision: 5023
Log:
Liberalise x86 clone flag handling, so it's as per amd64/ppc32.
However, leave the old code in place, disabled, for documentary
reasons.
Modified:
trunk/coregrind/m_syswrap/syswrap-x86-linux.c
Modified: trunk/coregrind/m_syswrap/syswrap-x86-linux.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_syswrap/syswrap-x86-linux.c 2005-11-05 14:48:03 UTC=
(rev 5022)
+++ trunk/coregrind/m_syswrap/syswrap-x86-linux.c 2005-11-05 15:13:23 UTC=
(rev 5023)
@@ -1067,13 +1067,18 @@
- ??? specifies clone flags of 0x1200011.
- NPTL specifies clone flags of 0x7D0F00.
- The Quadrics Elan3 driver specifies clone flags of 0xF00.
+ - Newer Quadrics Elan3 drivers with NTPL support specify 0x410F00.
Everything else is rejected.=20
*/
if (
+ 1 ||
+ /* 11 Nov 05: for the time being, disable this ultra-paranoia.
+ The switch below probably does a good enough job. */
(cloneflags =3D=3D 0x100011 || cloneflags =3D=3D 0x1200011
|| cloneflags =3D=3D 0x7D0F00
|| cloneflags =3D=3D 0x790F00
|| cloneflags =3D=3D 0x3D0F00
+ || cloneflags =3D=3D 0x410F00
|| cloneflags =3D=3D 0xF00
|| cloneflags =3D=3D 0xF21)) {
/* OK */
|