Evc_{new,enter}_namespace(): added
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Tue, 19 Oct 2004 23:11:23 +0000 (23:11 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Tue, 19 Oct 2004 23:11:23 +0000 (23:11 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1749 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/ensc_wrappers/wrappers-vserver.hc

index 189c61c..ceaee9c 100644 (file)
@@ -81,6 +81,18 @@ Evc_set_ccaps(xid_t xid, struct vc_ctx_caps const *caps)
   FatalErrnoError(vc_set_ccaps(xid, caps)==-1, "vc_set_ccaps()");
 }
 
+inline static WRAPPER_DECL void
+Evc_set_namespace()
+{
+  FatalErrnoError(vc_set_namespace()==-1, "vc_set_namespace()");
+}
+
+inline static WRAPPER_DECL void
+Evc_enter_namespace(xid_t xid)
+{
+  FatalErrnoError(vc_enter_namespace(xid)==-1, "vc_enter_namespace()");
+}
+
 inline static WRAPPER_DECL xid_t
 Evc_xidopt2xid(char const *id, bool honor_static)
 {