]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Liberalise x86 clone flag handling, so it's as per amd64/ppc32.
authorJulian Seward <jseward@acm.org>
Sat, 5 Nov 2005 15:13:23 +0000 (15:13 +0000)
committerJulian Seward <jseward@acm.org>
Sat, 5 Nov 2005 15:13:23 +0000 (15:13 +0000)
However, leave the old code in place, disabled, for documentary
reasons.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5023

coregrind/m_syswrap/syswrap-x86-linux.c

index caa1e2836b3a438631ec21af18ed5f63b730cf78..3e804bedbfdc4f963d647cffefa8a23bc0420aa2 100644 (file)
@@ -1067,13 +1067,18 @@ PRE(sys_clone)
       - ??? 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. 
    */
    if (
+        1 ||
+        /* 11 Nov 05: for the time being, disable this ultra-paranoia.
+           The switch below probably does a good enough job. */
           (cloneflags == 0x100011 || cloneflags == 0x1200011
                                   || cloneflags == 0x7D0F00
                                   || cloneflags == 0x790F00
                                   || cloneflags == 0x3D0F00
+                                  || cloneflags == 0x410F00
                                   || cloneflags == 0xF00
                                   || cloneflags == 0xF21)) {
      /* OK */