From c1dd898021187d4e67bd3a2b46be5c5703c0e391 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Mon, 22 Dec 2014 21:19:13 +0800 Subject: [PATCH] . --- output/namespace_linux.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/output/namespace_linux.go b/output/namespace_linux.go index e9fb7bd..325ef10 100644 --- a/output/namespace_linux.go +++ b/output/namespace_linux.go @@ -23,7 +23,8 @@ func setNamespace(cmd *exec.Cmd) { // XXX: keep move with Go 1.4 and later's cmd.SysProcAttr = &syscall.SysProcAttr{} - cmd.SysProcAttr.Cloneflags = syscall.CLONE_NEWUSER | syscall.CLONE_NEWNS | syscall.CLONE_NEWUTS | syscall.CLONE_NEWPID | syscall.CLONE_NEWIPC | syscall.CLONE_NEWNET + //cmd.SysProcAttr.Cloneflags = syscall.CLONE_NEWUSER | syscall.CLONE_NEWNS | syscall.CLONE_NEWUTS | syscall.CLONE_NEWPID | syscall.CLONE_NEWIPC | syscall.CLONE_NEWNET + cmd.SysProcAttr.Cloneflags = syscall.CLONE_NEWUSER | syscall.CLONE_NEWNS | syscall.CLONE_NEWUTS | syscall.CLONE_NEWPID | syscall.CLONE_NEWIPC /* | syscall.CLONE_NEWNET */ cmd.SysProcAttr.Credential = &syscall.Credential{ Uid: 0, Gid: 0,