1 |
commit: 841b949f03976e0f9db1a7c55665e6ccfa466354 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 28 02:51:32 2014 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 28 02:51:32 2014 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/emacs-tools.git;a=commit;h=841b949f |
7 |
|
8 |
Add PaX/xattr patch to Emacs 24.4, bug 526948. |
9 |
|
10 |
--- |
11 |
emacs/24.4/01_all_pax-xattr.patch | 16 ++++++++++++++++ |
12 |
1 file changed, 16 insertions(+) |
13 |
|
14 |
diff --git a/emacs/24.4/01_all_pax-xattr.patch b/emacs/24.4/01_all_pax-xattr.patch |
15 |
new file mode 100644 |
16 |
index 0000000..7cfce4b |
17 |
--- /dev/null |
18 |
+++ b/emacs/24.4/01_all_pax-xattr.patch |
19 |
@@ -0,0 +1,16 @@ |
20 |
+Fix temacs startup failure with hardened Linux kernel when both |
21 |
+CONFIG_PAX_PT_PAX_FLAGS and CONFIG_PAX_XATTR_PAX_FLAGS are enabled. |
22 |
+https://bugs.gentoo.org/497498 |
23 |
+https://bugs.gentoo.org/526948 |
24 |
+ |
25 |
+--- emacs-24.4-orig/src/Makefile.in |
26 |
++++ emacs-24.4/src/Makefile.in |
27 |
+@@ -497,7 +497,7 @@ |
28 |
+ test "$(CANNOT_DUMP)" = "yes" || \ |
29 |
+ test "X$(PAXCTL)" = X || $(PAXCTL) -r temacs$(EXEEXT) |
30 |
+ test "$(CANNOT_DUMP)" = "yes" || test -z "$(SETFATTR)" || \ |
31 |
+- $(SETFATTR) -n user.pax.flags -v r $@ |
32 |
++ $(SETFATTR) -n user.pax.flags -v er $@ |
33 |
+ |
34 |
+ ## The following oldxmenu-related rules are only (possibly) used if |
35 |
+ ## HAVE_X11 && !USE_GTK, but there is no harm in always defining them. |