Don't special case /sys/firmware in masked paths

Signed-off-by: John Howard <jhoward@microsoft.com>
Upstream-commit: b023a46a074c14d34e09d774c9e847343541a220
Component: engine
This commit is contained in:
John Howard
2017-11-08 12:10:42 -08:00
parent 3e8332108b
commit e0e98f749d
+1 -5
View File
@@ -120,6 +120,7 @@ func DefaultLinuxSpec() specs.Spec {
"/proc/timer_stats",
"/proc/sched_debug",
"/proc/scsi",
"/sys/firmware",
},
ReadonlyPaths: []string{
"/proc/asound",
@@ -205,10 +206,5 @@ func DefaultLinuxSpec() specs.Spec {
s.Windows = &specs.Windows{}
}
// For LCOW support, don't mask /sys/firmware
if runtime.GOOS != "windows" {
s.Linux.MaskedPaths = append(s.Linux.MaskedPaths, "/sys/firmware")
}
return s
}