Add VCMD_{enter,set}_space_v2 support, in preparation of pivot_root.
[util-vserver.git] / src / vcontext.c
index a42a82e..9768041 100644 (file)
@@ -274,8 +274,8 @@ doit(struct Arguments const *args, int argc, char *argv[])
     if (args->do_chroot) {
       Echroot(".");
       if (args->set_namespace) {
-       if (args->do_migrateself)  Evc_set_namespace(xid, CLONE_NEWNS|CLONE_FS);
-       else if (args->do_migrate) Evc_enter_namespace(xid, CLONE_NEWNS|CLONE_FS);
+       if (args->do_migrateself)  Evc_set_namespace(xid, CLONE_NEWNS|CLONE_FS, 0);
+       else if (args->do_migrate) Evc_enter_namespace(xid, CLONE_NEWNS|CLONE_FS, 0);
       }
     }