SOURCES (LINUX_2_6_22): kernel-grsec_fixes.patch - fix with patche...

zbyniu zbyniu at pld-linux.org
Tue Jan 22 21:36:40 CET 2008


Author: zbyniu                       Date: Tue Jan 22 20:36:39 2008 GMT
Module: SOURCES                       Tag: LINUX_2_6_22
---- Log message:
- fix with patched but disabled grsec

---- Files affected:
SOURCES:
   kernel-grsec_fixes.patch (1.1.2.1 -> 1.1.2.2) 

---- Diffs:

================================================================
Index: SOURCES/kernel-grsec_fixes.patch
diff -u SOURCES/kernel-grsec_fixes.patch:1.1.2.1 SOURCES/kernel-grsec_fixes.patch:1.1.2.2
--- SOURCES/kernel-grsec_fixes.patch:1.1.2.1	Wed Dec 12 13:21:10 2007
+++ SOURCES/kernel-grsec_fixes.patch	Tue Jan 22 21:36:34 2008
@@ -263,7 +263,9 @@
  {
 -	if (!cap_raised(NETLINK_CB(skb).eff_cap, cap))
 +	if (!cap_raised(NETLINK_CB(skb).eff_cap, cap)) {
++#ifdef CONFIG_GRKERNSEC
 +		gr_log_cap_x(cap);
++#endif
  		return -EPERM;
 +	}
  	return 0;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/kernel-grsec_fixes.patch?r1=1.1.2.1&r2=1.1.2.2&f=u



More information about the pld-cvs-commit mailing list