From e08eaecf81ee5e676809fd0482b8b979e96d3a0b Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Mon, 22 Dec 2014 22:16:35 +0800 Subject: [PATCH] . --- output/namespace_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/output/namespace_linux.go b/output/namespace_linux.go index cadd84a..2c21fc3 100644 --- a/output/namespace_linux.go +++ b/output/namespace_linux.go @@ -24,7 +24,7 @@ func setNamespace(cmd *exec.Cmd) { 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_NEWUTS | syscall.CLONE_NEWPID | syscall.CLONE_NEWIPC /* | syscall.CLONE_NEWNS | syscall.CLONE_NEWNET */ cmd.SysProcAttr.Credential = &syscall.Credential{ Uid: 0, Gid: 0,