From: Daniel Hokka Zakrisson Date: Mon, 20 Nov 2006 21:12:30 +0000 (+0000) Subject: Recognize set_utsname as a ccap too. X-Git-Tag: release-0.30.212~31 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff718f99578c633a0526486eec9672e75ba8325b;p=util-vserver.git Recognize set_utsname as a ccap too. git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2392 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/lib/ccaps-v13.c b/lib/ccaps-v13.c index 0e9bf9e..7d457e7 100644 --- a/lib/ccaps-v13.c +++ b/lib/ccaps-v13.c @@ -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