Merge pull request #2119 from KentaTada/fix-proc-settings
libcontainer: update masked paths of /proc
This commit is contained in:
commit
f061842f2c
|
@ -110,7 +110,10 @@ func Example() *specs.Spec {
|
||||||
},
|
},
|
||||||
Linux: &specs.Linux{
|
Linux: &specs.Linux{
|
||||||
MaskedPaths: []string{
|
MaskedPaths: []string{
|
||||||
|
"/proc/acpi",
|
||||||
|
"/proc/asound",
|
||||||
"/proc/kcore",
|
"/proc/kcore",
|
||||||
|
"/proc/keys",
|
||||||
"/proc/latency_stats",
|
"/proc/latency_stats",
|
||||||
"/proc/timer_list",
|
"/proc/timer_list",
|
||||||
"/proc/timer_stats",
|
"/proc/timer_stats",
|
||||||
|
@ -119,7 +122,6 @@ func Example() *specs.Spec {
|
||||||
"/proc/scsi",
|
"/proc/scsi",
|
||||||
},
|
},
|
||||||
ReadonlyPaths: []string{
|
ReadonlyPaths: []string{
|
||||||
"/proc/asound",
|
|
||||||
"/proc/bus",
|
"/proc/bus",
|
||||||
"/proc/fs",
|
"/proc/fs",
|
||||||
"/proc/irq",
|
"/proc/irq",
|
||||||
|
|
Loading…
Reference in New Issue