summaryrefslogtreecommitdiff
path: root/pkg/libcontainer/types_linux.go
blob: 1f937e0c97855baef7446704533cc4fa41d365ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package libcontainer

import (
	"syscall"
)

func init() {
	namespaceList = Namespaces{
		{Key: "NEWNS", Value: syscall.CLONE_NEWNS, File: "mnt", Enabled: true},
		{Key: "NEWUTS", Value: syscall.CLONE_NEWUTS, File: "uts", Enabled: true},
		{Key: "NEWIPC", Value: syscall.CLONE_NEWIPC, File: "ipc", Enabled: true},
		{Key: "NEWUSER", Value: syscall.CLONE_NEWUSER, File: "user", Enabled: true},
		{Key: "NEWPID", Value: syscall.CLONE_NEWPID, File: "pid", Enabled: true},
		{Key: "NEWNET", Value: syscall.CLONE_NEWNET, File: "net", Enabled: true},
	}
}