From owner-svn-src-all@FreeBSD.ORG Thu Oct 13 23:12:32 2011 Return-Path: Delivered-To: svn-src-all@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F2571065670; Thu, 13 Oct 2011 23:12:32 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from zim.MIT.EDU (ZIM.MIT.EDU [18.95.3.101]) by mx1.freebsd.org (Postfix) with ESMTP id 3A28B8FC0A; Thu, 13 Oct 2011 23:12:32 +0000 (UTC) Received: from zim.MIT.EDU (localhost [127.0.0.1]) by zim.MIT.EDU (8.14.5/8.14.2) with ESMTP id p9DMoUtV075085; Thu, 13 Oct 2011 18:50:30 -0400 (EDT) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by zim.MIT.EDU (8.14.5/8.14.2/Submit) id p9DMoUfN075084; Thu, 13 Oct 2011 18:50:30 -0400 (EDT) (envelope-from das@FreeBSD.ORG) Date: Thu, 13 Oct 2011 18:50:30 -0400 From: David Schultz To: Marcel Moolenaar Message-ID: <20111013225030.GA75054@zim.MIT.EDU> Mail-Followup-To: Marcel Moolenaar , John Baldwin , Kostik Belousov , Marcel Moolenaar , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <201110131620.p9DGKAM2022926@svn.freebsd.org> <20111013190943.GM1511@deviant.kiev.zoral.com.ua> <201110131707.14466.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: Marcel Moolenaar , John Baldwin , svn-src-all@FreeBSD.ORG, svn-src-head@FreeBSD.ORG, src-committers@FreeBSD.ORG, Kostik Belousov Subject: Re: svn commit: r226343 - head/sys/vm X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Oct 2011 23:12:32 -0000 On Thu, Oct 13, 2011, Marcel Moolenaar wrote: > > On Oct 13, 2011, at 2:07 PM, John Baldwin wrote: > >> > >> That's really besides the point. ABI changes are made deliberately > >> and ABIs must be well-documented for anyone to adhere to it. You > >> can't post hoc wave your hand and say that at some unspecified time > >> in the past the ABI changed: at what precise time does "supported > >> by hardware mean" and how does that tie to a major FreeBSD version? > >> > >> Point in case: the JDK 1.4.x still works on FreeBSD 9.x (i386), so > >> the ABI really hasn't changed at all in that respect. > > > > I think if you booted a FreeBSD 9.x i386 PAE kernel you'd find that the > > jdk did not work. That will be true for any i386 PAE kernel back to > > when PG_NX support was introduced. > > That's bad. Recent binutils support a PT_GNU_HEAP flag in the ELF header that controls whether heap allocations are executable by default. In Linux, the flag can be set using an ld option or the execstack(8) command. That seems like a better way to go than breaking old JVMs or disabling the security feature.