[Mono-bugs] [Bug 49499][Cri] Changed - mono:: segfaults under Fedora Linux

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 21 Oct 2003 08:12:09 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by dick@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=49499

--- shadow/49499	2003-10-20 14:03:14.000000000 -0400
+++ shadow/49499.tmp.4636	2003-10-21 08:12:08.000000000 -0400
@@ -388,6 +388,23 @@
 [root@/home/malte/test-execstack-ldflags/bin]# echo 3 >
 /proc/sys/kernel/exec-shield
 [root@/home/malte/test-execstack-ldflags/bin]# ./mono mcs.exe
 error CS2008: No files to compile were specified
 Compilation failed: 1 error(s), 0 warnings
 
+
+------- Additional Comments From dick@ximian.com  2003-10-21 08:12 -------
+Here's some notes I got from Dave Jones at Red Hat:
+
+You're probably better off asking Ingo <mingo@redhat.com>
+Here's what I've managed to get out of him so far..
+
+they should either allocate those dynamic buffers via mmap(PROT_EXEC)
+(best method), or should do a mprotect(PROT_EXEC) over the affected
+pages (acceptable method), or should define the app to have an
+executable stack (worst method).
+
+how do these apps work on amd64/ia64?
+(I guess Ingo means given they too have non executable stacks)
+
+                Dave
+