commit:     841b949f03976e0f9db1a7c55665e6ccfa466354
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 28 02:51:32 2014 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Oct 28 02:51:32 2014 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/emacs-tools.git;a=commit;h=841b949f

Add PaX/xattr patch to Emacs 24.4, bug 526948.

---
 emacs/24.4/01_all_pax-xattr.patch | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/emacs/24.4/01_all_pax-xattr.patch 
b/emacs/24.4/01_all_pax-xattr.patch
new file mode 100644
index 0000000..7cfce4b
--- /dev/null
+++ b/emacs/24.4/01_all_pax-xattr.patch
@@ -0,0 +1,16 @@
+Fix temacs startup failure with hardened Linux kernel when both
+CONFIG_PAX_PT_PAX_FLAGS and CONFIG_PAX_XATTR_PAX_FLAGS are enabled.
+https://bugs.gentoo.org/497498
+https://bugs.gentoo.org/526948
+
+--- emacs-24.4-orig/src/Makefile.in
++++ emacs-24.4/src/Makefile.in
+@@ -497,7 +497,7 @@
+       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.

Reply via email to