projects
/
util-vserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
c9cd9fb
)
This is not an option used by the utils, but the semantics are for filesystem namespaces.
author
Daniel Hokka Zakrisson
<daniel@hozac.com>
Tue, 15 Jul 2008 22:16:01 +0000 (22:16 +0000)
committer
Daniel Hokka Zakrisson
<daniel@hozac.com>
Tue, 15 Jul 2008 22:16:01 +0000 (22:16 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2748
94cd875c
-1c1d-0410-91d2-
eb244daf1a30
src/vcontext.c
patch
|
blob
|
history
diff --git
a/src/vcontext.c
b/src/vcontext.c
index
0f2f95b
..
a42a82e
100644
(file)
--- a/
src/vcontext.c
+++ b/
src/vcontext.c
@@
-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, 0);
- else if (args->do_migrate) Evc_enter_namespace(xid, 0);
+ 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);
}
}