From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: `exec shield' test in configure too strict? Date: Tue, 05 Oct 2004 17:44:41 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <20041004212031.GB2219@fencepost> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1097012711 3387 80.91.229.6 (5 Oct 2004 21:45:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 5 Oct 2004 21:45:11 +0000 (UTC) Cc: emacs-devel@gnu.org, Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 05 23:44:58 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 1CEx7C-00059Z-00 for ; Tue, 05 Oct 2004 23:44:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CExDr-0000EG-6y for ged-emacs-devel@m.gmane.org; Tue, 05 Oct 2004 17:51:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CExDj-0000EB-DX for emacs-devel@gnu.org; Tue, 05 Oct 2004 17:51:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CExDj-0000Dz-0w for emacs-devel@gnu.org; Tue, 05 Oct 2004 17:51:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CExDi-0000Dw-Uh for emacs-devel@gnu.org; Tue, 05 Oct 2004 17:51:42 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CEx6z-0001CY-AO; Tue, 05 Oct 2004 17:44:45 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id B831E8282A6; Tue, 5 Oct 2004 17:44:43 -0400 (EDT) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id C5B1F4AC698; Tue, 5 Oct 2004 17:44:41 -0400 (EDT) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 7602F8CA23; Tue, 5 Oct 2004 17:44:41 -0400 (EDT) Original-To: "Jan D." In-Reply-To: (Jan D.'s message of "Tue, 5 Oct 2004 22:40:02 +0200") User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=0, requis 5) X-MailScanner-From: monnier@iro.umontreal.ca 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:27962 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27962 > I have checked in a test that runs a program and sees if the heap start > address is random. Can you try it on the Debian-with-a-Redhat-kernel > machine (I forgot its name)? I think there's no point bothering with that. If /proc/sys/kernel/exec-shield is non-zero, there's a risk we may need setarch, so if setarch is available, use it. If /proc/sys/kernel/exec-shield is non-zero and there's no setarch, we should just try anyway and see if it works. If it works correctly, great. If it doesn't work, there's little we can do anyway, so we can just output a message referring the user to PROBLEMS. Trying to predict whether it's going to work or not doesn't seem to make much sense here since it doesn't allow us to resolve any problem we can't solve otherwise. Stefan