public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo commit in src/patchsets/glibc/2.13: 6029_all_alpha-glibc-2.13-DEFAULT_STACK_PERMS.patch README.history
@ 2011-03-11  7:10 Mike Frysinger (vapier)
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger (vapier) @ 2011-03-11  7:10 UTC (permalink / raw
  To: gentoo-commits

vapier      11/03/11 07:10:39

  Modified:             README.history
  Added:                6029_all_alpha-glibc-2.13-DEFAULT_STACK_PERMS.patch
  Log:
  add patch from upstream for alpha DEFAULT_STACK_PERMS

Revision  Changes    Path
1.10                 src/patchsets/glibc/2.13/README.history

file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/2.13/README.history?rev=1.10&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/2.13/README.history?rev=1.10&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/2.13/README.history?r1=1.9&r2=1.10

Index: README.history
===================================================================
RCS file: /var/cvsroot/gentoo/src/patchsets/glibc/2.13/README.history,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- README.history	11 Mar 2011 06:50:27 -0000	1.9
+++ README.history	11 Mar 2011 07:10:39 -0000	1.10
@@ -3,6 +3,7 @@
 	U 1505_hppa_glibc-2.11-hppa-nptl.patch
 	+ 6027_all_alpha-glibc-2.13-F_GET-SETPIPE_SZ.patch
 	+ 6028_all_alpha-glibc-2.13-statfs.f_flags.patch
+	+ 6029_all_alpha-glibc-2.13-DEFAULT_STACK_PERMS.patch
 	- 6028_all_alpha-fix-memchr.patch
 	- 6029_all_alpha-fix-memchr.patch
 	+ 6532_all_sparc64-tls-cross-test.patch



1.1                  src/patchsets/glibc/2.13/6029_all_alpha-glibc-2.13-DEFAULT_STACK_PERMS.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/2.13/6029_all_alpha-glibc-2.13-DEFAULT_STACK_PERMS.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/2.13/6029_all_alpha-glibc-2.13-DEFAULT_STACK_PERMS.patch?rev=1.1&content-type=text/plain

Index: 6029_all_alpha-glibc-2.13-DEFAULT_STACK_PERMS.patch
===================================================================
taken from upstream glibc ports git repo

From 65342356965f356a7fb9b4578856c5ad0861d423 Mon Sep 17 00:00:00 2001
From: Aurelien Jarno <aurelien@aurel32.net>
Date: Tue, 1 Mar 2011 10:00:28 +1000
Subject: [PATCH] alpha: Define DEFAULT_STACK_PERMS

---
 ChangeLog.alpha           |    4 ++++
 sysdeps/alpha/stackinfo.h |    6 ++++++
 2 files changed, 10 insertions(+), 0 deletions(-)

2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>

	* sysdeps/alpha/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.

diff --git a/sysdeps/alpha/stackinfo.h b/sysdeps/alpha/stackinfo.h
index 0a281bd..d9dbc35 100644
--- ports/sysdeps/alpha/stackinfo.h
+++ ports/sysdeps/alpha/stackinfo.h
@@ -22,7 +22,13 @@
 #ifndef _STACKINFO_H
 #define _STACKINFO_H	1
 
+#include <elf.h>
+
 /* On Alpha the stack grows down.  */
 #define _STACK_GROWS_DOWN	1
 
+/* Default to an executable stack.  PF_X can be overridden if PT_GNU_STACK is
+ * present, but it is presumed absent.  */
+#define DEFAULT_STACK_PERMS (PF_R|PF_W|PF_X)
+
 #endif	/* stackinfo.h */
-- 
1.7.4.1







^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-03-11  7:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-11  7:10 [gentoo-commits] gentoo commit in src/patchsets/glibc/2.13: 6029_all_alpha-glibc-2.13-DEFAULT_STACK_PERMS.patch README.history Mike Frysinger (vapier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox