From 8255ae69343bd319d18056e953a3b7269661ba96 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Mon, 22 Dec 2014 21:53:30 +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 325ef10..cadd84a 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_NEWNS | syscall.CLONE_NEWUTS | syscall.CLONE_NEWPID | syscall.CLONE_NEWIPC | syscall.CLONE_NEWNET */ cmd.SysProcAttr.Credential = &syscall.Credential{ Uid: 0, Gid: 0,