aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2014-10-28 03:51:32 +0100
committerUlrich Müller <ulm@gentoo.org>2014-10-28 03:51:32 +0100
commit841b949f03976e0f9db1a7c55665e6ccfa466354 (patch)
treed175463b00b5c45f266b122b47308763d7822543
parentRemove 21.4 and 22.3 patchsets. (diff)
downloademacs-patches-841b949f03976e0f9db1a7c55665e6ccfa466354.tar.gz
emacs-patches-841b949f03976e0f9db1a7c55665e6ccfa466354.tar.bz2
emacs-patches-841b949f03976e0f9db1a7c55665e6ccfa466354.zip
Add PaX/xattr patch to Emacs 24.4, bug 526948.emacs-24.4-patches-1
-rw-r--r--emacs/24.4/01_all_pax-xattr.patch16
1 files changed, 16 insertions, 0 deletions
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.