Package: mono Version: 2.4+dfsg-6 Severity: normal Tags: patch, security User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu karmic ubuntu-patch
Hello! When running a kernel that handles non-executable memory (PAE mode), it is preferred to have applications that do not have an executable stack for security. The small attached patch fixes this for mono. https://bugzilla.novell.com/show_bug.cgi?id=439086 Thanks, -Kees -- Kees Cook @debian.org
#! /bin/sh /usr/share/dpatch/dpatch-run ## fix_execstack_asm.dpatch by Kees Cook <k...@ubuntu.com> ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Description: sets default to non-exec stack. ## DP: Ubuntu: https://bugs.launchpad.net/bugs/408499 ## DP: Upstream: https://bugzilla.novell.com/show_bug.cgi?id=439086 @DPATCH@ diff -urNad mono-2.4+dfsg~/mono/mini/mdb-debug-info32.s mono-2.4+dfsg/mono/mini/mdb-debug-info32.s --- mono-2.4+dfsg~/mono/mini/mdb-debug-info32.s 2009-08-03 10:43:35.000000000 -0700 +++ mono-2.4+dfsg/mono/mini/mdb-debug-info32.s 2009-08-03 10:45:56.000000000 -0700 @@ -8,3 +8,4 @@ .global MONO_DEBUGGER__debugger_info_ptr MONO_DEBUGGER__debugger_info_ptr: .long MONO_DEBUGGER__debugger_info +.section .note.GNU-stack, "", @progbits