added ccap names
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Tue, 6 Apr 2004 08:41:17 +0000 (08:41 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Tue, 6 Apr 2004 08:41:17 +0000 (08:41 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1419 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/lib/ccaps-v13.c

index 822b3b6..39d2e03 100644 (file)
 #define DECL(STR, VAL) { STR, sizeof(STR)-1, VAL }
 
 static struct Mapping_uint64 const VALUES[] = {
-#warning Add the 'ccap' values here
+  DECL("utsname", VC_VXC_SET_UTSNAME),
+  DECL("rlimit",  VC_VXC_SET_RLIMIT),
+  DECL("ping",    VC_VXC_ICMP_PING),
+  DECL("mount",   VC_VXC_SECURE_MOUNT),
 };
 
 uint_least64_t