# HG changeset patch # User doko@ubuntu.com # Date 1251388107 -7200 # Node ID 60f5ceb2ad2ee93cd3e5a5a7e83da232bdabed3f # Parent ff13d97de40669fc7e0dce0c60daddb3a5f42d2c 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 ff13d97de406 -r 60f5ceb2ad2e ChangeLog --- a/ChangeLog Sun Dec 13 22:32:25 2009 +0100 +++ b/ChangeLog Thu Aug 27 17:48:27 2009 +0200 @@ -4,6 +4,12 @@ icedtea-6897844-xshm.patch, icedtea-linux-separate-debuginfo.patch. +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. + 2009-12-13 Mark Wielaard * Makefile.am (stamps/icedtea.stamp): Install jstack.stp. diff -r ff13d97de406 -r 60f5ceb2ad2e Makefile.am --- a/Makefile.am Sun Dec 13 22:32:25 2009 +0100 +++ b/Makefile.am Thu Aug 27 17:48:27 2009 +0200 @@ -710,6 +710,7 @@ patches/icedtea-disable-cc-incompatible-sanity-checks.patch \ patches/icedtea-explicit-target-arch.patch \ patches/openjdk/6648816.patch \ + patches/hotspot/$(HSBUILD)/icedtea-gcc-stack-markings.patch \ $(DISTRIBUTION_PATCHES) stamps/extract.stamp: stamps/download.stamp diff -r ff13d97de406 -r 60f5ceb2ad2e 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