From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: `exec shield' test in configure too strict? Date: Mon, 4 Oct 2004 17:20:31 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <20041004212031.GB2219@fencepost> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1096924893 7291 80.91.229.6 (4 Oct 2004 21:21:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 4 Oct 2004 21:21:33 +0000 (UTC) Cc: emacs-devel@gnu.org, Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 04 23:21:27 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CEaGs-0000r5-00 for ; Mon, 04 Oct 2004 23:21:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CEaNU-0006ez-0j for ged-emacs-devel@m.gmane.org; Mon, 04 Oct 2004 17:28:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CEaNL-0006eD-S2 for emacs-devel@gnu.org; Mon, 04 Oct 2004 17:28:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CEaNK-0006dc-Qb for emacs-devel@gnu.org; Mon, 04 Oct 2004 17:28:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CEaNK-0006dZ-Mh for emacs-devel@gnu.org; Mon, 04 Oct 2004 17:28:06 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CEaG0-0001Jv-A9 for emacs-devel@gnu.org; Mon, 04 Oct 2004 17:20:32 -0400 Original-Received: from miles by fencepost.gnu.org with local (Exim 4.34) id 1CEaFz-0001D4-Rq; Mon, 04 Oct 2004 17:20:31 -0400 Original-To: "Jan D." Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Blat: Foop X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:27900 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27900 On Mon, Oct 04, 2004 at 05:04:26PM +0200, Jan D. wrote: > >and so emacs refuses to configure -- but if disable this test by doing: > > > > $ make ac_cv_file__proc_sys_kernel_exec_shield=no > > > >Then Emacs configures and dumps just fine, despite not using `setarch'. > > Does that machine have a /proc/sys/kernel/exec-shield-randomize file? Yes: $ cat /proc/sys/kernel/exec-shield-randomize 1 > It is the random start address of the heap that makes dumping fail. Er... don't ask me, I just know it seems to work... -Miles -- "Most attacks seem to take place at night, during a rainstorm, uphill, where four map sheets join." -- Anon. British Officer in WW I