SOURCES (LINUX_2_6_16): linux-vcontext-selinux.patch (NEW) - suppo...

zbyniu zbyniu at pld-linux.org
Fri Jan 12 10:02:06 CET 2007


Author: zbyniu                       Date: Fri Jan 12 09:02:06 2007 GMT
Module: SOURCES                       Tag: LINUX_2_6_16
---- Log message:
- support for capability context from vserver in selinux

---- Files affected:
SOURCES:
   linux-vcontext-selinux.patch (NONE -> 1.1.2.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/linux-vcontext-selinux.patch
diff -u /dev/null SOURCES/linux-vcontext-selinux.patch:1.1.2.1
--- /dev/null	Fri Jan 12 10:02:06 2007
+++ SOURCES/linux-vcontext-selinux.patch	Fri Jan 12 10:02:01 2007
@@ -0,0 +1,20 @@
+--- linux-2.6.16/security/selinux/include/av_perm_to_string.h~	2006-03-20 05:53:29.000000000 +0000
++++ linux-2.6.16/security/selinux/include/av_perm_to_string.h	2007-01-12 02:06:17.278580000 +0000
+@@ -122,6 +122,7 @@
+    S_(SECCLASS_CAPABILITY, CAPABILITY__LEASE, "lease")
+    S_(SECCLASS_CAPABILITY, CAPABILITY__AUDIT_WRITE, "audit_write")
+    S_(SECCLASS_CAPABILITY, CAPABILITY__AUDIT_CONTROL, "audit_control")
++   S_(SECCLASS_CAPABILITY, CAPABILITY__CONTEXT, "vserver_context")
+    S_(SECCLASS_PASSWD, PASSWD__PASSWD, "passwd")
+    S_(SECCLASS_PASSWD, PASSWD__CHFN, "chfn")
+    S_(SECCLASS_PASSWD, PASSWD__CHSH, "chsh")
+--- linux-2.6.16/security/selinux/include/av_permissions.h~	2006-03-20 05:53:29.000000000 +0000
++++ linux-2.6.16/security/selinux/include/av_permissions.h	2007-01-12 02:07:24.624890000 +0000
+@@ -563,6 +563,7 @@
+ #define CAPABILITY__LEASE                         0x10000000UL
+ #define CAPABILITY__AUDIT_WRITE                   0x20000000UL
+ #define CAPABILITY__AUDIT_CONTROL                 0x40000000UL
++#define CAPABILITY__CONTEXT                       0x80000000UL
+ 
+ #define PASSWD__PASSWD                            0x00000001UL
+ #define PASSWD__CHFN                              0x00000002UL
================================================================


More information about the pld-cvs-commit mailing list