From: Daniel Hokka Zakrisson Date: Mon, 27 Oct 2008 22:58:20 +0000 (+0000) Subject: Add new capabilities. X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22bc1332b64cedd1f8e28c9fe4a92ac506a3a3c7;p=util-vserver.git Add new capabilities. git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2798 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/lib/bcaps-v13.c b/lib/bcaps-v13.c index 6f9f491..a46dde5 100644 --- a/lib/bcaps-v13.c +++ b/lib/bcaps-v13.c @@ -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 * diff --git a/lib/vserver.h b/lib/vserver.h index a1ba744..488aa50 100644 --- a/lib/vserver.h +++ b/lib/vserver.h @@ -141,6 +141,9 @@ #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