From 1f552a713065543c3f940e6236f910b37b8eaf6e Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Mon, 22 Dec 2014 22:52:05 +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 0da7fc2..6281790 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_NEWUTS | syscall.CLONE_NEWPID | syscall.CLONE_NEWIPC | syscall.CLONE_NEWNS + cmd.SysProcAttr.Cloneflags = syscall.CLONE_NEWUSER | syscall.CLONE_NEWNS | syscall.CLONE_NEWUTS | syscall.CLONE_NEWPID | syscall.CLONE_NEWIPC cmd.SysProcAttr.Credential = &syscall.Credential{ Uid: 0, Gid: 0,