mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
libcontainer: update masked paths of /proc
This commit updates the masked paths of /proc. Related issues: * https://github.com/moby/moby/pull/37404 * https://github.com/moby/moby/pull/38299 * https://github.com/moby/moby/pull/36368 Signed-off-by: Kenta Tada <Kenta.Tada@sony.com>
This commit is contained in:
@@ -110,7 +110,10 @@ func Example() *specs.Spec {
|
||||
},
|
||||
Linux: &specs.Linux{
|
||||
MaskedPaths: []string{
|
||||
"/proc/acpi",
|
||||
"/proc/asound",
|
||||
"/proc/kcore",
|
||||
"/proc/keys",
|
||||
"/proc/latency_stats",
|
||||
"/proc/timer_list",
|
||||
"/proc/timer_stats",
|
||||
@@ -119,7 +122,6 @@ func Example() *specs.Spec {
|
||||
"/proc/scsi",
|
||||
},
|
||||
ReadonlyPaths: []string{
|
||||
"/proc/asound",
|
||||
"/proc/bus",
|
||||
"/proc/fs",
|
||||
"/proc/irq",
|
||||
|
||||
Reference in New Issue
Block a user