Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 326443 - sys-kernel/hardened-sources-2.6.32-r10: outdated grsec patch
Summary: sys-kernel/hardened-sources-2.6.32-r10: outdated grsec patch
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: The Gentoo Linux Hardened Kernel Team (OBSOLETE)
URL: http://www.grsecurity.net/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-01 12:54 UTC by cilly
Modified: 2010-07-03 19:15 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cilly 2010-07-01 12:54:47 UTC
Can you pls update

4420_grsecurity-2.2.0-2.6.32.15-201006192153

to:

grsecurity-2.2.0-2.6.32.15-201006271253.patch

in hardened-patches and release them as hardened-patches-2.6.32-14.extras.tar.bz2 and add ebuild of hardened-sources-2.6.32-r11 to use hardened-patches version 14?

Thx
Comment 1 cilly 2010-07-01 16:40:03 UTC
Patch tested on x86. No issues.
Comment 2 cilly 2010-07-01 17:45:13 UTC
interdiff -wbB /etc/portage/patches/sys-kernel/cilly-sources-2.6.32.15-r3/4420_grsecurity-2.2.0-2.6.32.15-201006261422.patch /etc/portage/patches/sys-kernel/cilly-sources-2.6.32.15-r4/4420_grsecurity-2.2.0-2.6.32.15-201006271253.patch
diff -wbBu linux-2.6.32.15/grsecurity/grsec_init.c linux-2.6.32.15/grsecurity/grsec_init.c
--- linux-2.6.32.15/grsecurity/grsec_init.c     2010-06-19 21:41:53.854052763 -0400
+++ linux-2.6.32.15/grsecurity/grsec_init.c     2010-06-27 12:52:54.615758098 -0400
@@ -6,6 +6,7 @@
 #include <linux/slab.h>
 #include <linux/vmalloc.h>
 #include <linux/percpu.h>
+#include <linux/module.h>
 
 int grsec_enable_link;
 int grsec_enable_dmesg;
@@ -40,6 +41,9 @@
 int grsec_enable_tpe;
 int grsec_tpe_gid;
 int grsec_enable_blackhole;
+#ifdef CONFIG_IPV6_MODULE
+EXPORT_SYMBOL(grsec_enable_blackhole);
+#endif
 int grsec_lastack_retries;
 int grsec_enable_tpe_all;
 int grsec_enable_socket_all;
Comment 3 Anthony Basile gentoo-dev 2010-07-03 19:15:47 UTC
This patch has already been outdated by grsecurity-2.2.0-2.6.32.15-201007030913.patch.  Upstream is moving very fast and intentionally does not keep around older patches.

I am talking with upstream and I'll try to get ebuilds out for the more important releases, but an rev bump for every release is unreasonable.