Remove mountpoints not commonly mounted on FreeBSD
@@ -22,12 +22,6 @@ import (
func defaultMounts() []specs.Mount {
return []specs.Mount{
- {
- Destination: "/proc",
- Type: "procfs",
- Source: "proc",
- Options: []string{"nosuid", "noexec"},
- },
{
Destination: "/dev",
Type: "devfs",
@@ -40,17 +34,5 @@ func defaultMounts() []specs.Mount {
Source: "fdescfs",
Options: []string{},
},
- {
- Destination: "/dev/mqueue",
- Type: "mqueue",
- Source: "mqueue",
- Options: []string{"nosuid", "noexec"},
- },
- {
- Destination: "/dev/shm",
- Type: "tmpfs",
- Source: "shm",
- Options: []string{"nosuid", "noexec", "mode=1777"},
- },
}
}
