aboutsummaryrefslogtreecommitdiff
blob: 7cfce4be5959664e7967d528fa5132efe4a18b8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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.