Signed-off-by: John Howard <jhoward@microsoft.com>
| ... | ... |
@@ -120,6 +120,7 @@ func DefaultLinuxSpec() specs.Spec {
|
| 120 | 120 |
"/proc/timer_stats", |
| 121 | 121 |
"/proc/sched_debug", |
| 122 | 122 |
"/proc/scsi", |
| 123 |
+ "/sys/firmware", |
|
| 123 | 124 |
}, |
| 124 | 125 |
ReadonlyPaths: []string{
|
| 125 | 126 |
"/proc/asound", |
| ... | ... |
@@ -205,10 +206,5 @@ func DefaultLinuxSpec() specs.Spec {
|
| 205 | 205 |
s.Windows = &specs.Windows{}
|
| 206 | 206 |
} |
| 207 | 207 |
|
| 208 |
- // For LCOW support, don't mask /sys/firmware |
|
| 209 |
- if runtime.GOOS != "windows" {
|
|
| 210 |
- s.Linux.MaskedPaths = append(s.Linux.MaskedPaths, "/sys/firmware") |
|
| 211 |
- } |
|
| 212 |
- |
|
| 213 | 208 |
return s |
| 214 | 209 |
} |