backing out to version 208 of util-vserver
[util-vserver.git] / lib / syscall_setnamespace-v13.hc
index 8613fc0..1646eac 100644 (file)
@@ -1,4 +1,4 @@
-// $Id: syscall_setnamespace-v13.hc 2415 2006-12-08 13:24:49Z dhozac $    --*- c -*--
+// $Id: syscall_setnamespace-v13.hc,v 1.1 2004/02/27 04:39:09 ensc Exp $    --*- c -*--
 
 // Copyright (C) 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
 //  
@@ -23,9 +23,7 @@
 #include "vserver.h"
 
 static inline ALWAYSINLINE int
-vc_set_namespace_v13(xid_t xid, uint_least64_t mask)
+vc_set_namespace_v13(int UNUSED tmp)
 {
-  if ((mask & (CLONE_NEWNS|CLONE_FS)) == 0)
-    return 0;
-  return vserver(VCMD_set_space_v0, CTX_USER2KERNEL(xid), 0);
+  return vserver(VCMD_set_namespace, 0, 0);
 }