From e28f59922432b8c88f57fb3fdacaffa8da1c91e0 Mon Sep 17 00:00:00 2001 From: brl Date: Sat, 6 Jun 2015 14:33:20 -0400 Subject: [PATCH] use network namespace (CLONE_NEWNET) --- oz-daemon/launch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oz-daemon/launch.go b/oz-daemon/launch.go index 658eb8d..7d51783 100644 --- a/oz-daemon/launch.go +++ b/oz-daemon/launch.go @@ -39,7 +39,7 @@ func findSandbox(id int) *Sandbox { return nil } */ -const initCloneFlags = syscall.CLONE_NEWNS | syscall.CLONE_NEWIPC | syscall.CLONE_NEWPID | syscall.CLONE_NEWUTS +const initCloneFlags = syscall.CLONE_NEWNS | syscall.CLONE_NEWIPC | syscall.CLONE_NEWPID | syscall.CLONE_NEWUTS | syscall.CLONE_NEWNET func createInitCommand(name, chroot string, uid uint32, display int) *exec.Cmd { cmd := exec.Command(initPath)