# HG changeset patch # User Andrew John Hughes # Date 1421887861 0 # Node ID 885a6e1730a8faa2762a2e677f57e1277901105f # Parent 17332a8545d8e344b8f747c29fba487ea8bdfd1a PR2171: JamVM builds with executable stack, causing failures on SELinux & PaX kernels 2011-08-15 Pavel Tisnovsky PR2171: JamVM builds with executable stack, causing failures on SELinux & PaX kernels * Makefile.am: (jamvm): Added LDFLAGS for JamVM to fix the SELinux executable flag issue. diff -r 17332a8545d8 -r 885a6e1730a8 ChangeLog --- a/ChangeLog Thu Jan 22 00:19:21 2015 +0000 +++ b/ChangeLog Thu Jan 22 00:51:01 2015 +0000 @@ -1,3 +1,11 @@ +2011-08-15 Pavel Tisnovsky + + PR2171: JamVM builds with executable stack, + causing failures on SELinux & PaX kernels + * Makefile.am: + (jamvm): Added LDFLAGS for JamVM + to fix the SELinux executable flag issue. + 2015-01-07 Andrew John Hughes PR2050: JamVM lacks JVM_FindClassFromCaller introduced diff -r 17332a8545d8 -r 885a6e1730a8 Makefile.am --- a/Makefile.am Thu Jan 22 00:19:21 2015 +0000 +++ b/Makefile.am Thu Jan 22 00:51:01 2015 +0000 @@ -2147,6 +2147,7 @@ stamps/jamvm.stamp: $(OPENJDK_TREE) stamps/rt.stamp if BUILD_JAMVM cd jamvm/jamvm && \ + LDFLAGS="-Xlinker -z -Xlinker noexecstack" \ ./autogen.sh --with-java-runtime-library=openjdk7 \ --prefix=$(abs_top_builddir)/jamvm/install ; \ $(MAKE) ; \ diff -r 17332a8545d8 -r 885a6e1730a8 NEWS --- a/NEWS Thu Jan 22 00:19:21 2015 +0000 +++ b/NEWS Thu Jan 22 00:51:01 2015 +0000 @@ -112,6 +112,7 @@ - PR2161: RHEL 6 has a version of GIO which meets the version criteria, but has no g_settings_* * JamVM - PR2050: JamVM lacks JVM_FindClassFromCaller introduced by security patch in 2.5.3 + - PR2171: JamVM builds with executable stack, causing failures on SELinux & PaX kernels New in release 2.5.3 (2014-10-14):