projects
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Set the namespaces we've unshared.
[util-vserver.git]
/
lib
/
syscall_ctxcreate-v21.hc
diff --git
a/lib/syscall_ctxcreate-v21.hc
b/lib/syscall_ctxcreate-v21.hc
index
91e145b
..
600c9ef
100644
(file)
--- a/
lib/syscall_ctxcreate-v21.hc
+++ b/
lib/syscall_ctxcreate-v21.hc
@@
-39,6
+39,7
@@
vc_ctx_create_v21(xid_t xid, struct vc_ctx_flags *flags)
if (res != VC_NOCTX) {
if (utilvserver_checkCompatConfig() & VC_VCI_SPACES) {
sys_unshare(CLONE_NEWUTS | CLONE_NEWIPC);
+ vc_set_namespace(VC_SAMECTX, CLONE_NEWUTS | CLONE_NEWIPC);
}
}