SOURCES: libcap-vserver.patch (NEW) - CAP_CONTEXT added

zbyniu zbyniu at pld-linux.org
Wed Jan 28 03:16:51 CET 2009


Author: zbyniu                       Date: Wed Jan 28 02:16:51 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- CAP_CONTEXT added

---- Files affected:
SOURCES:
   libcap-vserver.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/libcap-vserver.patch
diff -u /dev/null SOURCES/libcap-vserver.patch:1.1
--- /dev/null	Wed Jan 28 03:16:51 2009
+++ SOURCES/libcap-vserver.patch	Wed Jan 28 03:16:45 2009
@@ -0,0 +1,13 @@
+--- libcap-2.16/libcap/include/linux/capability.h~	2008-07-10 08:18:40.000000000 +0200
++++ libcap-2.16/libcap/include/linux/capability.h	2009-01-28 03:02:03.276944392 +0100
+@@ -346,7 +346,9 @@ typedef struct kernel_cap_struct {
+ 
+ #define CAP_MAC_ADMIN        33
+ 
+-#define CAP_LAST_CAP         CAP_MAC_ADMIN
++#define CAP_CONTEXT          34
++
++#define CAP_LAST_CAP         CAP_CONTEXT
+ 
+ #define cap_valid(x) ((x) >= 0 && (x) <= CAP_LAST_CAP)
+ 
================================================================


More information about the pld-cvs-commit mailing list