SOURCES (LINUX_2_6_16): linux-2.6-apparmor-caps.patch (NEW), linux...

zbyniu zbyniu at pld-linux.org
Fri Dec 22 13:36:29 CET 2006


Author: zbyniu                       Date: Fri Dec 22 12:36:29 2006 GMT
Module: SOURCES                       Tag: LINUX_2_6_16
---- Log message:
- we have more capabilities in kernel

---- Files affected:
SOURCES:
   linux-2.6-apparmor-caps.patch (NONE -> 1.1.2.1)  (NEW), linux-2.6-grsec-caps.patch (NONE -> 1.1.2.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/linux-2.6-apparmor-caps.patch
diff -u /dev/null SOURCES/linux-2.6-apparmor-caps.patch:1.1.2.1
--- /dev/null	Fri Dec 22 13:36:29 2006
+++ SOURCES/linux-2.6-apparmor-caps.patch	Fri Dec 22 13:36:24 2006
@@ -0,0 +1,14 @@
+--- linux-2.6.16/security/apparmor/capabilities.c~	2006-12-14 16:33:24.000000000 +0100
++++ linux-2.6.16/security/apparmor/capabilities.c	2006-12-17 20:59:31.243483000 +0100
+@@ -40,7 +40,10 @@ static const char *capnames[] = {
+ 	"sys_time",
+ 	"sys_tty_config",
+ 	"mknod",
+-	"lease"
++	"lease",
++	"audit_write",
++	"audit_control",
++	"context"
+ };
+ 
+ const char *capability_to_name(unsigned int cap)

================================================================
Index: SOURCES/linux-2.6-grsec-caps.patch
diff -u /dev/null SOURCES/linux-2.6-grsec-caps.patch:1.1.2.1
--- /dev/null	Fri Dec 22 13:36:29 2006
+++ SOURCES/linux-2.6-grsec-caps.patch	Fri Dec 22 13:36:24 2006
@@ -0,0 +1,14 @@
+--- linux-2.6.16/grsecurity/gracl_cap.c~	2006-12-21 21:26:52.000000000 +0100
++++ linux-2.6.16/grsecurity/gracl_cap.c	2006-12-21 22:08:38.202000750 +0100
+@@ -35,7 +35,10 @@ static const char *captab_log[] = {
+ 	"CAP_SYS_TIME",
+ 	"CAP_SYS_TTY_CONFIG",
+ 	"CAP_MKNOD",
+-	"CAP_LEASE"
++	"CAP_LEASE",
++	"CAP_AUDIT_WRITE",
++	"CAP_AUDIT_CONTROL",
++	"CAP_CONTEXT"
+ };
+ 
+ EXPORT_SYMBOL(gr_task_is_capable);
================================================================


More information about the pld-cvs-commit mailing list