# HG changeset patch # User doko@ubuntu.com # Date 1251388107 -7200 # Node ID bd932bfc5a03903ab0a365c649f6d6c38a62b666 # Parent d7a1543dcb1ecc62ffb848ab8bc9983323f7d2c3 2009-08-27 Kees Cook * patches/hotspot/default/icedtea-gcc-stack-markings.patch: New. Adding stack markings to the x86 assembly for not using executable stack. diff -r d7a1543dcb1e -r bd932bfc5a03 ChangeLog --- a/ChangeLog Wed Mar 17 16:48:26 2010 +0000 +++ b/ChangeLog Thu Aug 27 17:48:27 2009 +0200 @@ -1,3 +1,9 @@ +2009-08-27 Kees Cook + + * patches/hotspot/default/icedtea-gcc-stack-markings.patch: New. + Adding stack markings to the x86 assembly for not using executable + stack. + 2010-03-17 Andrew John Hughes * NEWS: Update for 1.6.3. diff -r d7a1543dcb1e -r bd932bfc5a03 Makefile.am --- a/Makefile.am Wed Mar 17 16:48:26 2010 +0000 +++ b/Makefile.am Thu Aug 27 17:48:27 2009 +0200 @@ -729,6 +729,7 @@ patches/hotspot/$(HSBUILD)/icedtea-explicit-target-arch.patch \ patches/openjdk/6648816.patch \ patches/openjdk/oj100103-debugger-socket-overflow.patch \ + patches/hotspot/$(HSBUILD)/icedtea-gcc-stack-markings.patch \ $(DISTRIBUTION_PATCHES) stamps/extract.stamp: stamps/download.stamp diff -r d7a1543dcb1e -r bd932bfc5a03 patches/hotspot/default/icedtea-gcc-stack-markings.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/hotspot/default/icedtea-gcc-stack-markings.patch Thu Aug 27 17:48:27 2009 +0200 @@ -0,0 +1,14 @@ +--- openjdk/hotspot/src/os_cpu/linux_x86/vm/linux_x86_32.s~ 2009-08-06 01:08:57.000000000 -0700 ++++ openjdk/hotspot/src/os_cpu/linux_x86/vm/linux_x86_32.s 2009-08-06 01:09:27.000000000 -0700 +@@ -650,3 +650,4 @@ _Atomic_cmpxchg_long: + popl %ebx + ret + ++.section .note.GNU-stack, "", @progbits +--- openjdk/hotspot/src/os_cpu/linux_x86/vm/linux_x86_64.s~ 2009-08-06 01:08:57.000000000 -0700 ++++ openjdk/hotspot/src/os_cpu/linux_x86/vm/linux_x86_64.s 2009-08-06 01:09:27.000000000 -0700 +@@ -400,3 +400,4 @@ _Atomic_cmpxchg_long: + addq $4,%rdx + jg 4b + ret ++.section .note.GNU-stack, "", @progbits