Add new ccaps.
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Mon, 5 Oct 2009 21:23:54 +0000 (21:23 +0000)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Mon, 5 Oct 2009 21:23:54 +0000 (21:23 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2850 94cd875c-1c1d-0410-91d2-eb244daf1a30

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

index d0045b0..8041435 100644 (file)
 static struct Mapping_uint64 const VALUES[] = {
   DECL("set_utsname",     VC_VXC_SET_UTSNAME),
   DECL("set_rlimit",      VC_VXC_SET_RLIMIT),
+  DECL("fs_security",     VC_VXC_FS_SECURITY),
   DECL("raw_icmp",        VC_VXC_RAW_ICMP),
   DECL("syslog",          VC_VXC_SYSLOG),
+  DECL("oom_adjust",      VC_VXC_OOM_ADJUST),
+  DECL("audit_control",   VC_VXC_AUDIT_CONTROL),
   DECL("secure_mount",    VC_VXC_SECURE_MOUNT),
   DECL("secure_remount",  VC_VXC_SECURE_REMOUNT),
   DECL("binary_mount",    VC_VXC_BINARY_MOUNT),
index 4508082..2ab484a 100644 (file)
 // the ccapabilities
 #define VC_VXC_SET_UTSNAME             0x00000001ull
 #define VC_VXC_SET_RLIMIT              0x00000002ull
+#define VC_VXC_FS_SECURITY             0x00000004ull
 
 #define VC_VXC_RAW_ICMP                        0x00000100ull
 #define VC_VXC_SYSLOG                  0x00001000ull
+#define VC_VXC_OOM_ADJUST              0x00002000ull
+#define VC_VXC_AUDIT_CONTROL           0x00004000ull
 
 #define VC_VXC_SECURE_MOUNT            0x00010000ull
 #define VC_VXC_SECURE_REMOUNT          0x00020000ull