From 15d2d6523cd933c0aa4f5052fdaada2e9693c199 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Mon, 22 Dec 2014 22:39:54 +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 2c21fc3..0da7fc2 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 | syscall.CLONE_NEWNET */ + cmd.SysProcAttr.Cloneflags = syscall.CLONE_NEWUSER | syscall.CLONE_NEWUTS | syscall.CLONE_NEWPID | syscall.CLONE_NEWIPC | syscall.CLONE_NEWNS cmd.SysProcAttr.Credential = &syscall.Credential{ Uid: 0, Gid: 0,