Gentoo Archives: gentoo-commits

From: "Christian Heim (phreak)" <phreak@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] hardened r86 - hardened-sources/2.6/trunk/2.6.23
Date: Sun, 30 Mar 2008 17:39:08
Message-Id: E1Jg1Um-0006gD-PA@stork.gentoo.org
1 Author: phreak
2 Date: 2008-03-30 17:39:03 +0000 (Sun, 30 Mar 2008)
3 New Revision: 86
4
5 Modified:
6 hardened-sources/2.6/trunk/2.6.23/4505_grsec-pax_emutramp-only-on-ppc32.patch
7 Log:
8 PAX_EMUTRAMP is only causing bugs on amd64, thus restricting it to HPPA, PPC32 and X86_32 (#206678 - CONFIG_PAX_EMUTRAMP breaks sandbox).
9
10 Modified: hardened-sources/2.6/trunk/2.6.23/4505_grsec-pax_emutramp-only-on-ppc32.patch
11 ===================================================================
12 --- hardened-sources/2.6/trunk/2.6.23/4505_grsec-pax_emutramp-only-on-ppc32.patch 2008-03-30 17:23:32 UTC (rev 85)
13 +++ hardened-sources/2.6/trunk/2.6.23/4505_grsec-pax_emutramp-only-on-ppc32.patch 2008-03-30 17:39:03 UTC (rev 86)
14 @@ -1,10 +1,11 @@
15 --- a/security/Kconfig
16 +++ b/security/Kconfig
17 -@@ -155,6 +155,7 @@ config PAX_SEGMEXEC
18 +@@ -153,7 +153,7 @@ config PAX_SEGMEXEC
19 + 3 GB.
20 +
21 config PAX_EMUTRAMP
22 - bool "Emulate trampolines" if (PAX_PAGEEXEC || PAX_SEGMEXEC) && (PARISC || PPC32 || X86)
23 +- bool "Emulate trampolines" if (PAX_PAGEEXEC || PAX_SEGMEXEC) && (PARISC || PPC32 || X86)
24 ++ bool "Emulate trampolines" if (PAX_PAGEEXEC || PAX_SEGMEXEC) && (PARISC || PPC32 || X86_32)
25 default y if PARISC || PPC32
26 -+ depends on PARISC || PPC32
27 help
28 There are some programs and libraries that for one reason or
29 - another attempt to execute special small code snippets from
30
31 --
32 gentoo-commits@l.g.o mailing list