summaryrefslogtreecommitdiff
path: root/patches/glibc/ports-2.10.1/350-pre20040117-pt_pax.patch
diff options
context:
space:
mode:
authorDmitry Pankratov <dp@ubiquitech.com>2016-11-11 20:03:11 (GMT)
committerDmitry Pankratov <dp@ubiquitech.com>2016-11-11 20:03:11 (GMT)
commit0d17d26005efbd5d6157df0f68a26c738c385ed2 (patch)
tree9c25ccb481bd4b58e54c692403d9c49402f09d98 /patches/glibc/ports-2.10.1/350-pre20040117-pt_pax.patch
parent34ca68e3b076f4a7eea78aa46215fa50dfb1e322 (diff)
parent5ebbb52be04e42bbd1c28b903eba642bebaeb1b6 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'patches/glibc/ports-2.10.1/350-pre20040117-pt_pax.patch')
-rw-r--r--patches/glibc/ports-2.10.1/350-pre20040117-pt_pax.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/patches/glibc/ports-2.10.1/350-pre20040117-pt_pax.patch b/patches/glibc/ports-2.10.1/350-pre20040117-pt_pax.patch
deleted file mode 100644
index 78ced36..0000000
--- a/patches/glibc/ports-2.10.1/350-pre20040117-pt_pax.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-diff -durN glibc-2.10.1.orig/elf/elf.h glibc-2.10.1/elf/elf.h
---- glibc-2.10.1.orig/elf/elf.h 2009-04-15 02:15:54.000000000 +0200
-+++ glibc-2.10.1/elf/elf.h 2009-11-13 00:50:35.000000000 +0100
-@@ -572,6 +572,7 @@
- #define PT_GNU_EH_FRAME 0x6474e550 /* GCC .eh_frame_hdr segment */
- #define PT_GNU_STACK 0x6474e551 /* Indicates stack executability */
- #define PT_GNU_RELRO 0x6474e552 /* Read-only after relocation */
-+#define PT_PAX_FLAGS 0x65041580 /* Indicates PaX flag markings */
- #define PT_LOSUNW 0x6ffffffa
- #define PT_SUNWBSS 0x6ffffffa /* Sun Specific segment */
- #define PT_SUNWSTACK 0x6ffffffb /* Stack segment */
-@@ -585,6 +586,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 */
-+#define PF_PAGEEXEC (1 << 4) /* Enable PAGEEXEC */
-+#define PF_NOPAGEEXEC (1 << 5) /* Disable PAGEEXEC */
-+#define PF_SEGMEXEC (1 << 6) /* Enable SEGMEXEC */
-+#define PF_NOSEGMEXEC (1 << 7) /* Disable SEGMEXEC */
-+#define PF_MPROTECT (1 << 8) /* Enable MPROTECT */
-+#define PF_NOMPROTECT (1 << 9) /* Disable MPROTECT */
-+#define PF_RANDEXEC (1 << 10) /* Enable RANDEXEC */
-+#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 */
-