From: Enrico Scholz Date: Tue, 7 Sep 2004 20:37:11 +0000 (+0000) Subject: vc_get_insecureflags(): added (does this really make sense??) X-Git-Tag: IPSENTINEL_VERSION_0_12~303 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6258d71f3fdb31544bd67b2e06c6c7eb8a4296b;p=util-vserver.git vc_get_insecureflags(): added (does this really make sense??) git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1689 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/lib/vserver.h b/util-vserver/lib/vserver.h index d389fbc..2c13e70 100644 --- a/util-vserver/lib/vserver.h +++ b/util-vserver/lib/vserver.h @@ -580,6 +580,9 @@ extern "C" { inline static uint_least64_t vc_get_insecureccaps() { return ~(VC_VXC_SET_UTSNAME|VC_VXC_ICMP_PING); } + inline static uint_least64_t vc_get_insecureflags() { + return VC_VXF_HIDE_NETIF; + } inline static int vc_setfilecontext(char const *filename, xid_t xid) { return vc_set_iattr(filename, xid, 0, VC_IATTR_XID);