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

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 19 Oct 2003 11:36:30 -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 richard.torkar@htu.se.

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

--- shadow/49499	2003-10-19 09:12:02.000000000 -0400
+++ shadow/49499.tmp.21555	2003-10-19 11:36:29.000000000 -0400
@@ -257,6 +257,49 @@
 Oops, I meant: 'exec shild set to 2'. The '1' value is
 
 exec-shield=1 - default disabled, except binaries that enable it 
 
 Does it work for you if you set it to '2' ?
 
+
+------- Additional Comments From richard.torkar@htu.se  2003-10-19 11:36 -------
+
+echo 0 > /proc/sys/kernel/exec-shield
+
+PATCHED:
+$ mcs
+error CS2008: No files to compile were specified
+Compilation failed: 1 error(s), 0 warnings
+
+UNPATCHED:
+$ mcs
+error CS2008: No files to compile were specified
+Compilation failed: 1 error(s), 0 warnings
+
+
+echo 1 > /proc/sys/kernel/exec-shield
+
+PATCHED:
+$ mcs
+error CS2008: No files to compile were specified
+Compilation failed: 1 error(s), 0 warnings
+
+UNPATCHED:
+
+/home/torkar/foo/bin/mcs: line 2: 11019 Segmentation fault     
+/home/torkar/foo/bin/mono /home/torkar/foo/bin/mcs.exe "$@"
+
+
+echo 2 > /proc/sys/kernel/exec-shield
+
+PATCHED:
+$ mcs
+error CS2008: No files to compile were specified
+Compilation failed: 1 error(s), 0 warnings
+
+UNPATCHED:
+/home/torkar/foo/bin/mcs: line 2: 11059 Segmentation fault     
+/home/torkar/foo/bin/mono /home/torkar/foo/bin/mcs.exe "$@"
+
+Does this answer your question? ;-)
+I don't know if the patch does it the *right* way, but it definitely
+works.