SOURCES (LINUX_2_6): grsecurity-2.1.9-2.6.19.1.patch - security/co...

mguevara mguevara at pld-linux.org
Mon Dec 18 17:30:47 CET 2006


Author: mguevara                     Date: Mon Dec 18 16:30:47 2006 GMT
Module: SOURCES                       Tag: LINUX_2_6
---- Log message:
- security/commoncap.c cap_capable_nolog should check vx_cap_raised 
  instead of cap_raised

---- Files affected:
SOURCES:
   grsecurity-2.1.9-2.6.19.1.patch (1.1.2.6 -> 1.1.2.7) 

---- Diffs:

================================================================
Index: SOURCES/grsecurity-2.1.9-2.6.19.1.patch
diff -u SOURCES/grsecurity-2.1.9-2.6.19.1.patch:1.1.2.6 SOURCES/grsecurity-2.1.9-2.6.19.1.patch:1.1.2.7
--- SOURCES/grsecurity-2.1.9-2.6.19.1.patch:1.1.2.6	Sat Dec 16 03:17:39 2006
+++ SOURCES/grsecurity-2.1.9-2.6.19.1.patch	Mon Dec 18 17:30:41 2006
@@ -28723,7 +28723,7 @@
 +int cap_capable_nolog (struct task_struct *tsk, int cap)
 +{
 +	/* Derived from include/linux/sched.h:capable. */
-+	if (cap_raised (tsk->cap_effective, cap))
++	if (vx_cap_raised(tsk->vx_info, tsk->cap_effective, cap))
  		return 0;
  	return -EPERM;
  }
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/grsecurity-2.1.9-2.6.19.1.patch?r1=1.1.2.6&r2=1.1.2.7&f=u



More information about the pld-cvs-commit mailing list