]> git.pld-linux.org Git - packages/smalltalk.git/commitdiff
- try to work without proc or with /proc/self/maps hidden by PaX PROC_MEMMAP
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 16 Jul 2004 10:24:13 +0000 (10:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    smalltalk-proc.patch -> 1.1

smalltalk-proc.patch [new file with mode: 0644]

diff --git a/smalltalk-proc.patch b/smalltalk-proc.patch
new file mode 100644 (file)
index 0000000..97348f2
--- /dev/null
@@ -0,0 +1,28 @@
+--- smalltalk-2.1.8/sigsegv/src/heur-ac.h.orig Fri Jul 16 11:54:44 2004
++++ smalltalk-2.1.8/sigsegv/src/heur-ac.h      Fri Jul 16 12:10:58 2004
+@@ -32,8 +32,11 @@
+       stack_top = vma.end - 1;
+       return 0;
+     }
+-  else
+-    return -1;
++  else {
++    extern void *__libc_stack_end;
++    stack_top = __libc_stack_end;
++    return 0;
++  }
+ }
+ #define IS_STACK_OVERFLOW \
+--- smalltalk-2.1.8/sigsegv/src/stackvma-linux.c.orig  Fri Dec 19 17:01:08 2003
++++ smalltalk-2.1.8/sigsegv/src/stackvma-linux.c       Fri Jul 16 12:03:31 2004
+@@ -42,7 +42,8 @@
+         break;
+       while (c = getc (fp), c != EOF && c != '\n')
+         continue;
+-      if (address >= start && address <= end - 1)
++      if (address >= start && address <= end - 1 &&
++        (start != end /* ignore maps hidden by PaX */))
+         {
+           vma->start = start;
+           vma->end = end;
This page took 0.026518 seconds and 4 git commands to generate.