summaryrefslogtreecommitdiff
path: root/pkg/libcontainer/types_linux.go
blob: c14531df20599e073a96d54e10f05b631782a99a (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"},
		{Key: "NEWUTS", Value: syscall.CLONE_NEWUTS, File: "uts"},
		{Key: "NEWIPC", Value: syscall.CLONE_NEWIPC, File: "ipc"},
		{Key: "NEWUSER", Value: syscall.CLONE_NEWUSER, File: "user"},
		{Key: "NEWPID", Value: syscall.CLONE_NEWPID, File: "pid"},
		{Key: "NEWNET", Value: syscall.CLONE_NEWNET, File: "net"},
	}
}