2014-02-25 23:19:13 +00:00
|
|
|
package libcontainer
|
|
|
|
|
|
|
|
import (
|
|
|
|
"syscall"
|
|
|
|
)
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
namespaceList = Namespaces{
|
2014-05-05 19:34:21 +00:00
|
|
|
{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"},
|
2014-02-25 23:19:13 +00:00
|
|
|
}
|
|
|
|
}
|