vc_get_insecureflags(): added (does this really make sense??)
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Tue, 7 Sep 2004 20:37:11 +0000 (20:37 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Tue, 7 Sep 2004 20:37:11 +0000 (20:37 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1689 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/lib/vserver.h

index d389fbc..2c13e70 100644 (file)
@@ -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);