From e6258d71f3fdb31544bd67b2e06c6c7eb8a4296b Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Tue, 7 Sep 2004 20:37:11 +0000 Subject: [PATCH] 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 --- util-vserver/lib/vserver.h | 3 +++ 1 file changed, 3 insertions(+) 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); -- 1.8.1.5