From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ulrich =?UTF-8?Q?M=C3=BCller?= Newsgroups: gmane.emacs.bugs Subject: bug#19067: [PATCH] Use consistent paxctl and setfattr flags for temacs. Date: Sun, 16 Nov 2014 12:49:09 +0100 Message-ID: <21608.36661.953976.950906@a1i15.kph.uni-mainz.de> References: <21608.36054.486023.532920@a1i15.kph.uni-mainz.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1416138625 31761 80.91.229.3 (16 Nov 2014 11:50:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Nov 2014 11:50:25 +0000 (UTC) To: 19067@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 16 12:50:19 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XpyLR-00026k-Pg for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Nov 2014 12:50:17 +0100 Original-Received: from localhost ([::1]:43512 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpyLR-0003Oz-GP for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Nov 2014 06:50:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41093) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpyLI-0003N9-9j for bug-gnu-emacs@gnu.org; Sun, 16 Nov 2014 06:50:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XpyLC-0003sz-Tt for bug-gnu-emacs@gnu.org; Sun, 16 Nov 2014 06:50:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37155) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpyLC-0003sM-Qp for bug-gnu-emacs@gnu.org; Sun, 16 Nov 2014 06:50:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XpyLB-00066L-Ox for bug-gnu-emacs@gnu.org; Sun, 16 Nov 2014 06:50:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ulrich =?UTF-8?Q?M=C3=BCller?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Nov 2014 11:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19067 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19067-submit@debbugs.gnu.org id=B19067.141613855423338 (code B ref 19067); Sun, 16 Nov 2014 11:50:01 +0000 Original-Received: (at 19067) by debbugs.gnu.org; 16 Nov 2014 11:49:14 +0000 Original-Received: from localhost ([127.0.0.1]:34368 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XpyKP-00064K-O0 for submit@debbugs.gnu.org; Sun, 16 Nov 2014 06:49:14 -0500 Original-Received: from a1www.kph.uni-mainz.de ([134.93.134.1]:33822) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XpyKN-000649-Fe for 19067@debbugs.gnu.org; Sun, 16 Nov 2014 06:49:12 -0500 Original-Received: from a1i15.kph.uni-mainz.de (a1i15.kph.uni-mainz.de [134.93.134.92]) by a1www.kph.uni-mainz.de (8.14.9/8.14.7) with ESMTP id sAGBnAm9006561 for <19067@debbugs.gnu.org>; Sun, 16 Nov 2014 12:49:10 +0100 Original-Received: from a1i15.kph.uni-mainz.de (localhost [127.0.0.1]) by a1i15.kph.uni-mainz.de (8.14.8/8.14.2) with ESMTP id sAGBnA8q004750; Sun, 16 Nov 2014 12:49:10 +0100 Original-Received: (from ulm@localhost) by a1i15.kph.uni-mainz.de (8.14.8/8.14.8/Submit) id sAGBn9je004746; Sun, 16 Nov 2014 12:49:09 +0100 In-Reply-To: X-Mailer: VM 8.2.0b under 24.3.1 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:96104 >From 7a519d08281d003f26bb4a9048dd5d428fb7f21e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulrich=20M=C3=BCller?= Date: Sun, 16 Nov 2014 12:37:54 +0100 Subject: [PATCH] Use consistent paxctl and setfattr flags for temacs. * Makefile.in (temacs$(EXEEXT)): Use consistent flag settings for paxctl and setfattr. Fixes temacs startup failure with grsecurity/PaX enabled Linux kernel (bug#19067). --- src/ChangeLog | 6 ++++++ src/Makefile.in | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index f9f3a0f..7c690e2 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2014-11-16 Ulrich Müller + + * Makefile.in (temacs$(EXEEXT)): Use consistent flag settings + for paxctl and setfattr. Fixes temacs startup failure with + grsecurity/PaX enabled Linux kernel (bug#19067). + 2014-11-16 Stefan Monnier * frame.c (Fhandle_switch_frame): Deactivate shift-region (bug#19003). diff --git a/src/Makefile.in b/src/Makefile.in index 70e31b5..99f9981 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -497,7 +497,7 @@ temacs$(EXEEXT): $(LIBXMENU) $(ALLOBJS) \ test "$(CANNOT_DUMP)" = "yes" || \ test "X$(PAXCTL)" = X || $(PAXCTL) -r temacs$(EXEEXT) test "$(CANNOT_DUMP)" = "yes" || test -z "$(SETFATTR)" || \ - $(SETFATTR) -n user.pax.flags -v r $@ + $(SETFATTR) -n user.pax.flags -v er $@ ## The following oldxmenu-related rules are only (possibly) used if ## HAVE_X11 && !USE_GTK, but there is no harm in always defining them. -- 2.1.3