types_linux.go 550 B

12345678910111213141516
  1. package libcontainer
  2. import (
  3. "syscall"
  4. )
  5. func init() {
  6. namespaceList = Namespaces{
  7. {Key: "NEWNS", Value: syscall.CLONE_NEWNS, File: "mnt", Enabled: true},
  8. {Key: "NEWUTS", Value: syscall.CLONE_NEWUTS, File: "uts", Enabled: true},
  9. {Key: "NEWIPC", Value: syscall.CLONE_NEWIPC, File: "ipc", Enabled: true},
  10. {Key: "NEWUSER", Value: syscall.CLONE_NEWUSER, File: "user", Enabled: true},
  11. {Key: "NEWPID", Value: syscall.CLONE_NEWPID, File: "pid", Enabled: true},
  12. {Key: "NEWNET", Value: syscall.CLONE_NEWNET, File: "net", Enabled: true},
  13. }
  14. }