From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.bugs Subject: bug#8395: ASLR Issue? Date: Mon, 11 Jul 2011 09:13:37 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <6CD2FB60-80D6-40C4-92A9-F5BAB9AA4173@dre.vanderbilt.edu> <14674727-2DB3-4CFE-80F1-24B2B3512DDB@play-bow.org> <9AA37F17-F5FA-48C1-9AE9-779A59EAC4C3@play-bow.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: dough.gmane.org 1310343266 9231 80.91.229.12 (11 Jul 2011 00:14:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 11 Jul 2011 00:14:26 +0000 (UTC) Cc: 8395@debbugs.gnu.org To: Bob Halley Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 11 02:14:21 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qg48i-0006bU-Sd for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Jul 2011 02:14:21 +0200 Original-Received: from localhost ([::1]:42574 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qg48i-0006ZU-56 for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Jul 2011 20:14:20 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:43392) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qg48T-0006ZM-Pk for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2011 20:14:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qg48R-0003Os-Et for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2011 20:14:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53408) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qg48R-0003Oj-DS for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2011 20:14:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Qg48Q-00039v-Hd; Sun, 10 Jul 2011 20:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: YAMAMOTO Mitsuharu Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Jul 2011 00:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8395 X-GNU-PR-Package: emacs,ns X-GNU-PR-Keywords: Original-Received: via spool by 8395-submit@debbugs.gnu.org id=B8395.131034322912119 (code B ref 8395); Mon, 11 Jul 2011 00:14:02 +0000 Original-Received: (at 8395) by debbugs.gnu.org; 11 Jul 2011 00:13:49 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qg48C-00039Q-Q8 for submit@debbugs.gnu.org; Sun, 10 Jul 2011 20:13:48 -0400 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qg48A-00039D-CZ for 8395@debbugs.gnu.org; Sun, 10 Jul 2011 20:13:48 -0400 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 96401C0557; Mon, 11 Jul 2011 09:13:37 +0900 (JST) In-Reply-To: <9AA37F17-F5FA-48C1-9AE9-779A59EAC4C3@play-bow.org> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?UTF-8?Q?Shij=C5=8D?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 10 Jul 2011 20:14:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:48525 Archived-At: >>>>> On Sun, 10 Jul 2011 08:19:47 -0700, Bob Halley said: > On 7 Jul 2011, at 15:57, YAMAMOTO Mitsuharu wrote: >> This may or may not be a separate issue. Could you show the result of >> `$ otool -h src/temacs src/emacs' at the build tree? > src/temacs: > Mach header > magic cputype cpusubtype caps filetype ncmds sizeofcmds flags > 0xfeedfacf 16777223 3 0x80 2 23 3696 0x00000085 > src/emacs: > Mach header > magic cputype cpusubtype caps filetype ncmds sizeofcmds flags > 0xfeedfacf 16777223 3 0x80 2 31 4272 0x00000085 Thanks. As MH_PIE (0x200000) is not set in flags, the -fno-pie option seems to work as intended (i.e., to suppress address randomization). >> Also, please try X11 or tty-only builds if possible. > I'll try that later; I'll have to pull plain emacs 24 code as this > doesn't seem to work with the Aquamacs code base. Thanks again. If the change I posted turns out to work with X11 or tty-only builds, I'll commit it. Of course, if Lion is released early, I'll try those builds myself. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp