SOURCES (LINUX_2_6): linux-2.6-grsec_full.patch - changes from grs...

mguevara mguevara at pld-linux.org
Thu May 3 14:48:41 CEST 2007


Author: mguevara                     Date: Thu May  3 12:48:41 2007 GMT
Module: SOURCES                       Tag: LINUX_2_6
---- Log message:
- changes from grsecurity-2.1.10-2.6.21-200705021312.patch

---- Files affected:
SOURCES:
   linux-2.6-grsec_full.patch (1.1.2.2 -> 1.1.2.3) 

---- Diffs:

================================================================
Index: SOURCES/linux-2.6-grsec_full.patch
diff -u SOURCES/linux-2.6-grsec_full.patch:1.1.2.2 SOURCES/linux-2.6-grsec_full.patch:1.1.2.3
--- SOURCES/linux-2.6-grsec_full.patch:1.1.2.2	Tue May  1 23:30:09 2007
+++ SOURCES/linux-2.6-grsec_full.patch	Thu May  3 14:48:36 2007
@@ -30746,7 +30746,7 @@
 diff -urNp linux-2.6.21/net/ipv4/netfilter/ipt_stealth.c linux-2.6.21/net/ipv4/netfilter/ipt_stealth.c
 --- linux-2.6.21/net/ipv4/netfilter/ipt_stealth.c	1969-12-31 19:00:00.000000000 -0500
 +++ linux-2.6.21/net/ipv4/netfilter/ipt_stealth.c	2007-04-29 22:41:30.000000000 -0400
-@@ -0,0 +1,113 @@
+@@ -0,0 +1,114 @@
 +/* Kernel module to add stealth support.
 + *
 + * Copyright (C) 2002-2006 Brad Spengler  <spender at grsecurity.net>
@@ -30840,8 +30840,9 @@
 +}
 +
 +
-+static struct ipt_match stealth_match = {
++static struct xt_match stealth_match = {
 +	.name = "stealth",
++	.family = AF_INET,
 +	.match = match,
 +	.checkentry = checkentry,
 +	.destroy = NULL,
@@ -30850,12 +30851,12 @@
 +
 +static int __init init(void)
 +{
-+	return ipt_register_match(&stealth_match);
++	return xt_register_match(&stealth_match);
 +}
 +
 +static void __exit fini(void)
 +{
-+	ipt_unregister_match(&stealth_match);
++	xt_unregister_match(&stealth_match);
 +}
 +
 +module_init(init);
@@ -31394,7 +31395,7 @@
 +
 +config PAX
 +	bool "Enable various PaX features"
-+	depends on GRSECURITY && (ALPHA || ARM || AVR32 || IA64 || MIPS32 || MIPS64 || PARISC || PPC32 || PPC64 || SPARC32 || SPARC64 || X86 || X86_64)
++	depends on GRKERNSEC && (ALPHA || ARM || AVR32 || IA64 || MIPS32 || MIPS64 || PARISC || PPC32 || PPC64 || SPARC32 || SPARC64 || X86 || X86_64)
 +	help
 +	  This allows you to enable various PaX features.  PaX adds
 +	  intrusion prevention mechanisms to the kernel that reduce
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/linux-2.6-grsec_full.patch?r1=1.1.2.2&r2=1.1.2.3&f=u



More information about the pld-cvs-commit mailing list