git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2799
94cd875c-1c1d-0410-91d2-
eb244daf1a30
#include <strings.h>
#include <assert.h>
-#define DECL(VAL) { #VAL, sizeof(#VAL)-1, 1 << (CAP_ ## VAL) }
-
-#ifndef CAP_AUDIT_WRITE
-# define CAP_AUDIT_WRITE 29
-#endif
-
-#ifndef CAP_AUDIT_CONTROL
-# define CAP_AUDIT_CONTROL 30
-#endif
+#define DECL(VAL) { #VAL, sizeof(#VAL)-1, 1ULL << (VC_CAP_ ## VAL) }
static struct Mapping_uint64 const VALUES[] = {
DECL(CHOWN),