summaryrefslogtreecommitdiff
path: root/2.6.32
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2013-11-11 08:27:00 -0500
committerAnthony G. Basile <blueness@gentoo.org>2013-11-11 08:27:00 -0500
commit0809800434ae1b918a0b5d819dbb48c7661cd4fe (patch)
tree544bcf89eff5b6fe727e1f2ce8cc1e445c61cda4 /2.6.32
parentGrsec/PaX: 2.9.1-{2.6.32.61,3.2.52,3.11.7}-201311071634 (diff)
downloadhardened-patchset-0809800434ae1b918a0b5d819dbb48c7661cd4fe.tar.gz
hardened-patchset-0809800434ae1b918a0b5d819dbb48c7661cd4fe.tar.bz2
hardened-patchset-0809800434ae1b918a0b5d819dbb48c7661cd4fe.zip
Grsec/PaX: 2.9.1-{2.6.32.61,3.2.52,3.11.7}-20131110230620131110
Diffstat (limited to '2.6.32')
-rw-r--r--2.6.32/0000_README2
-rw-r--r--2.6.32/4420_grsecurity-2.9.1-2.6.32.61-201311102303.patch (renamed from 2.6.32/4420_grsecurity-2.9.1-2.6.32.61-201311071632.patch)11
2 files changed, 8 insertions, 5 deletions
diff --git a/2.6.32/0000_README b/2.6.32/0000_README
index b5c69e3..70f19f5 100644
--- a/2.6.32/0000_README
+++ b/2.6.32/0000_README
@@ -38,7 +38,7 @@ Patch: 1060_linux-2.6.32.61.patch
From: http://www.kernel.org
Desc: Linux 2.6.32.61
-Patch: 4420_grsecurity-2.9.1-2.6.32.61-201311071632.patch
+Patch: 4420_grsecurity-2.9.1-2.6.32.61-201311102303.patch
From: http://www.grsecurity.net
Desc: hardened-sources base patch from upstream grsecurity
diff --git a/2.6.32/4420_grsecurity-2.9.1-2.6.32.61-201311071632.patch b/2.6.32/4420_grsecurity-2.9.1-2.6.32.61-201311102303.patch
index acf589b..59e84fb 100644
--- a/2.6.32/4420_grsecurity-2.9.1-2.6.32.61-201311071632.patch
+++ b/2.6.32/4420_grsecurity-2.9.1-2.6.32.61-201311102303.patch
@@ -110626,18 +110626,21 @@ index 0000000..7cd6065
@@ -0,0 +1 @@
+-grsec
diff --git a/mm/Kconfig b/mm/Kconfig
-index 2c19c0b..f3c3f83 100644
+index 2c19c0b..713bf49 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
-@@ -228,7 +228,7 @@ config KSM
+@@ -228,8 +228,9 @@ config KSM
config DEFAULT_MMAP_MIN_ADDR
int "Low address space to protect from user allocation"
depends on MMU
- default 4096
-+ default 65536
- help
+- help
++ default 32768 if ALPHA || ARM || PARISC || SPARC32
++ default 65536
++ help
This is the portion of low virtual memory which should be protected
from userspace allocation. Keeping a user from writing to low pages
+ can help reduce the impact of kernel NULL pointer bugs.
diff --git a/mm/backing-dev.c b/mm/backing-dev.c
index d824401..9f5244a 100644
--- a/mm/backing-dev.c