From 6d65a0312d9896eb246478aedbb8687fe3da0a08 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Fri, 26 Mar 2004 07:28:41 +0000 Subject: [PATCH] - 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 --- util-vserver/lib/vserver.h | 30 +++++++++++------------------- 1 file changed, 11 insertions(+), 19 deletions(-) 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<