mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Don't special case /sys/firmware in masked paths
Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
parent
bbc4f78ba9
commit
b023a46a07
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue