Add new capabilities.
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Mon, 27 Oct 2008 22:58:20 +0000 (22:58 +0000)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Mon, 27 Oct 2008 22:58:20 +0000 (22:58 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2798 94cd875c-1c1d-0410-91d2-eb244daf1a30

lib/bcaps-v13.c
lib/vserver.h

index 6f9f491..a46dde5 100644 (file)
@@ -71,6 +71,9 @@ static struct Mapping_uint64 const VALUES[] = {
   DECL(LEASE),
   DECL(AUDIT_WRITE),
   DECL(AUDIT_CONTROL),
+  DECL(SETFCAP),
+  DECL(MAC_OVERRIDE),
+  DECL(MAC_ADMIN),
 };
 
 inline static char const *
index a1ba744..488aa50 100644 (file)
 #define VC_CAP_LEASE                   28
 #define VC_CAP_AUDIT_WRITE             29
 #define VC_CAP_AUDIT_CONTROL           30
+#define VC_CAP_SETFCAP                 31
+#define VC_CAP_MAC_OVERRIDE            32
+#define VC_CAP_MAC_ADMIN               33
 
 #define VC_IMMUTABLE_FILE_FL           0x0000010lu
 #define VC_IMMUTABLE_LINK_FL           0x0008000lu