types_linux.go 460 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"},
  8. {Key: "NEWUTS", Value: syscall.CLONE_NEWUTS, File: "uts"},
  9. {Key: "NEWIPC", Value: syscall.CLONE_NEWIPC, File: "ipc"},
  10. {Key: "NEWUSER", Value: syscall.CLONE_NEWUSER, File: "user"},
  11. {Key: "NEWPID", Value: syscall.CLONE_NEWPID, File: "pid"},
  12. {Key: "NEWNET", Value: syscall.CLONE_NEWNET, File: "net"},
  13. }
  14. }