Recognize set_utsname as a ccap too.
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Mon, 20 Nov 2006 21:12:30 +0000 (21:12 +0000)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Mon, 20 Nov 2006 21:12:30 +0000 (21:12 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2392 94cd875c-1c1d-0410-91d2-eb244daf1a30

lib/ccaps-v13.c

index 0e9bf9e..7d457e7 100644 (file)
@@ -30,7 +30,7 @@
 #define DECL(STR, VAL) { STR, sizeof(STR)-1, VAL }
 
 static struct Mapping_uint64 const VALUES[] = {
-  DECL("utsname",         VC_VXC_SET_UTSNAME),
+  DECL("set_utsname",     VC_VXC_SET_UTSNAME),
   DECL("rlimit",          VC_VXC_SET_RLIMIT),
   DECL("raw_icmp",        VC_VXC_RAW_ICMP),
   DECL("syslog",          VC_VXC_SYSLOG),
@@ -45,6 +45,7 @@ static struct Mapping_uint64 const VALUES[] = {
   DECL("remount",         VC_VXC_SECURE_REMOUNT),
   DECL("icmp",            VC_VXC_RAW_ICMP),
   DECL("ping",            VC_VXC_RAW_ICMP),
+  DECL("utsname",         VC_VXC_SET_UTSNAME),
 };
 
 uint_least64_t