git://git.onelab.eu
/
util-vserver-pl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Comment out problematic calls
[util-vserver-pl.git]
/
src
/
planetlab.c
diff --git
a/src/planetlab.c
b/src/planetlab.c
index
3c06261
..
b931e81
100644
(file)
--- a/
src/planetlab.c
+++ b/
src/planetlab.c
@@
-101,7
+101,7
@@
process:
unshare(unshare_flags);
unshare_flags |= vc_get_space_mask();
//printf("vc_set_namespace(%d, %X)\n", ctx, unshare_flags);
unshare(unshare_flags);
unshare_flags |= vc_get_space_mask();
//printf("vc_set_namespace(%d, %X)\n", ctx, unshare_flags);
- vc_set_namespace(ctx, unshare_flags);
+
//
vc_set_namespace(ctx, unshare_flags);
}
/* Set capabilities - these don't take effect until SETUP flag is unset */
}
/* Set capabilities - these don't take effect until SETUP flag is unset */
@@
-202,7
+202,7
@@
pl_chcontext(xid_t ctx, uint64_t bcaps, const struct sliver_resources *slr,
if (unshare_flags != 0) {
unshare_flags |=vc_get_space_mask();
//printf("vc_enter_namespace(%d, %X)\n", ctx, unshare_flags);
if (unshare_flags != 0) {
unshare_flags |=vc_get_space_mask();
//printf("vc_enter_namespace(%d, %X)\n", ctx, unshare_flags);
- vc_enter_namespace(ctx, unshare_flags);
+
//
vc_enter_namespace(ctx, unshare_flags);
}
if (!vc_tag_migrate(ctx) && !vc_ctx_migrate(ctx, 0))
}
if (!vc_tag_migrate(ctx) && !vc_ctx_migrate(ctx, 0))