summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2004-01-26 18:05:55 +0000
committerNed Ludd <solar@gentoo.org>2004-01-26 18:05:55 +0000
commit723bfcb37d3cbe87c1d3ffda87ed10f9e560f4d9 (patch)
tree24b7bbb11fdfe4eb1b1216427824f493eae7e5ec /sys-libs
parentadd missing selinux? ( sys-libs/libselinux ) dep (Manifest recommit) (diff)
downloadgentoo-2-723bfcb37d3cbe87c1d3ffda87ed10f9e560f4d9.tar.gz
gentoo-2-723bfcb37d3cbe87c1d3ffda87ed10f9e560f4d9.tar.bz2
gentoo-2-723bfcb37d3cbe87c1d3ffda87ed10f9e560f4d9.zip
add RANDMMAP/NORANDMMAP to PT_PAX_FLAGS patch
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/glibc/Manifest2
-rw-r--r--sys-libs/glibc/files/2.3.3/glibc-2.3.3_pre20040117-pt_pax.diff8
2 files changed, 6 insertions, 4 deletions
diff --git a/sys-libs/glibc/Manifest b/sys-libs/glibc/Manifest
index c0ad22673245..88585cbb65ff 100644
--- a/sys-libs/glibc/Manifest
+++ b/sys-libs/glibc/Manifest
@@ -48,7 +48,7 @@ MD5 e9d9d086e8ed29ed49252d4cd0050f66 files/2.2.5/glibc-2.2.5.restrict_arr.patch
MD5 1c3b30834a25149e4738eead113462ad files/2.2.5/glibc-2.2.5-getgrouplist.patch 708
MD5 1b5df7c58ad160593192704cece47347 files/2.3.3/glibc-2.3.3-dl_execstack-PaX-support.patch 1791
MD5 0bfc56be86acec8ec52fe29249e267a4 files/2.3.3/glibc-2.3.3-owl-malloc-unlink-sanity-check.diff 1425
-MD5 9f36201bd0eb2088370d64b9c99d173b files/2.3.3/glibc-2.3.3_pre20040117-pt_pax.diff 1360
+MD5 f8fa1bbd59f5b2c4666e0bb2a7de11df files/2.3.3/glibc-2.3.3_pre20040117-pt_pax.diff 1470
MD5 7b6054c2e8ec654341690586bc2028c5 files/2.3.3/glibc-2.3.3_pre20040117-signal-ssp.diff 1431
MD5 21506827cc2094c80d3c0c0e8ef3569c files/2.3.1/glibc-2.3.1-ctype-compat-v2.patch 1468
MD5 941f13d27badc76c1e3704c59acaff26 files/2.3.1/glibc-2.3.1-ctype-compat-v3.patch 2823
diff --git a/sys-libs/glibc/files/2.3.3/glibc-2.3.3_pre20040117-pt_pax.diff b/sys-libs/glibc/files/2.3.3/glibc-2.3.3_pre20040117-pt_pax.diff
index aa8e3500c1fc..fdae6f514e62 100644
--- a/sys-libs/glibc/files/2.3.3/glibc-2.3.3_pre20040117-pt_pax.diff
+++ b/sys-libs/glibc/files/2.3.3/glibc-2.3.3_pre20040117-pt_pax.diff
@@ -1,5 +1,5 @@
---- elf/elf.h.orig 2004-01-23 19:41:56.000000000 -0500
-+++ elf/elf.h 2004-01-23 19:42:59.000000000 -0500
+--- elf/elf.h.orig 2004-01-26 12:54:15.000000000 -0500
++++ elf/elf.h 2004-01-26 12:53:23.000000000 -0500
@@ -568,6 +568,7 @@
#define PT_GNU_EH_FRAME 0x6474e550 /* GCC .eh_frame_hdr segment */
#define PT_GNU_STACK 0x6474e551 /* Indicates stack executability */
@@ -8,7 +8,7 @@
#define PT_LOSUNW 0x6ffffffa
#define PT_SUNWBSS 0x6ffffffa /* Sun Specific segment */
#define PT_SUNWSTACK 0x6ffffffb /* Stack segment */
-@@ -581,6 +582,16 @@
+@@ -581,6 +582,18 @@
#define PF_X (1 << 0) /* Segment is executable */
#define PF_W (1 << 1) /* Segment is writable */
#define PF_R (1 << 2) /* Segment is readable */
@@ -22,6 +22,8 @@
+#define PF_NORANDEXEC (1 << 11) /* Disable RANDEXEC */
+#define PF_EMUTRAMP (1 << 12) /* Enable EMUTRAMP */
+#define PF_NOEMUTRAMP (1 << 13) /* Disable EMUTRAMP */
++#define PF_RANDMMAP (1 << 14) /* Enable RANDMMAP */
++#define PF_NORANDMMAP (1 << 15) /* Disable RANDMMAP */
#define PF_MASKOS 0x0ff00000 /* OS-specific */
#define PF_MASKPROC 0xf0000000 /* Processor-specific */