all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ulrich Müller" <ulm@gentoo.org>
To: 19067@debbugs.gnu.org
Subject: bug#19067: [PATCH] Use consistent paxctl and setfattr flags for temacs.
Date: Sun, 16 Nov 2014 12:49:09 +0100	[thread overview]
Message-ID: <21608.36661.953976.950906@a1i15.kph.uni-mainz.de> (raw)
In-Reply-To: <handler.19067.B.141613797221804.ack@debbugs.gnu.org>

From 7a519d08281d003f26bb4a9048dd5d428fb7f21e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ulrich=20M=C3=BCller?= <ulm@gentoo.org>
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  <ulm@gentoo.org>
+
+	* 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  <monnier@iro.umontreal.ca>
 
 	* 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






  parent reply	other threads:[~2014-11-16 11:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-16 11:39 bug#19067: 24.4; temacs startup failure when both PT_PAX and XATTR_PAX flags are enabled in Linux Ulrich Mueller
     [not found] ` <handler.19067.B.141613797221804.ack@debbugs.gnu.org>
2014-11-16 11:49   ` Ulrich Müller [this message]
2014-11-23 11:46     ` bug#19067: [PATCH] Use consistent paxctl and setfattr flags for temacs Ulrich Mueller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=21608.36661.953976.950906@a1i15.kph.uni-mainz.de \
    --to=ulm@gentoo.org \
    --cc=19067@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.