From: Enrico Scholz Date: Fri, 26 Mar 2004 07:28:41 +0000 (+0000) Subject: - minor cleanups X-Git-Tag: VERSION_0_10~210 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d65a0312d9896eb246478aedbb8687fe3da0a08;p=util-vserver.git - minor cleanups - added vcFEATURE_VSHELPER - vc_isSupported(): annotated it - vc_get_insecurecaps(): moved it into an own file; CAP_SYS_BOOT requires a special handling so inlining is not really usefully anymore git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1365 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/lib/vserver.h b/util-vserver/lib/vserver.h index 42b0e5f..57946fb 100644 --- a/util-vserver/lib/vserver.h +++ b/util-vserver/lib/vserver.h @@ -408,26 +408,17 @@ extern "C" { struct vc_err_listparser *err); uint_least32_t vc_text2flag_compat(char const *, size_t len); char const * vc_hiflag2text_compat(uint_least32_t); - - int vc_text2cap(char const *); - char const * vc_cap2text(unsigned int); - - inline static uint_least32_t vc_get_insecurecaps() { - return ( (1<