|
@@ -120,6 +120,7 @@ func DefaultLinuxSpec() specs.Spec {
|
|
"/proc/timer_stats",
|
|
"/proc/timer_stats",
|
|
"/proc/sched_debug",
|
|
"/proc/sched_debug",
|
|
"/proc/scsi",
|
|
"/proc/scsi",
|
|
|
|
+ "/sys/firmware",
|
|
},
|
|
},
|
|
ReadonlyPaths: []string{
|
|
ReadonlyPaths: []string{
|
|
"/proc/asound",
|
|
"/proc/asound",
|
|
@@ -205,10 +206,5 @@ func DefaultLinuxSpec() specs.Spec {
|
|
s.Windows = &specs.Windows{}
|
|
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
|
|
return s
|
|
}
|
|
}
|