Merge pull request #126 from thaJeztah/18.09_backport_mask_asound

[18.09 backport] Masked /proc/asound
Upstream-commit: 82a4418f57d5aa0d58c8bba630d701a918094c3b
Component: engine
This commit is contained in:
Andrew Hsu
2018-12-03 14:06:43 -08:00
committed by GitHub
+1 -1
View File
@@ -114,6 +114,7 @@ func DefaultLinuxSpec() specs.Spec {
s.Linux = &specs.Linux{
MaskedPaths: []string{
"/proc/asound",
"/proc/acpi",
"/proc/kcore",
"/proc/keys",
@@ -125,7 +126,6 @@ func DefaultLinuxSpec() specs.Spec {
"/sys/firmware",
},
ReadonlyPaths: []string{
"/proc/asound",
"/proc/bus",
"/proc/fs",
"/proc/irq",