From c740965a18268653d56185fdfd5a3a3a446c3056 Mon Sep 17 00:00:00 2001 From: Kenta Tada Date: Mon, 26 Aug 2019 12:25:56 +0900 Subject: [PATCH] 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 --- libcontainer/specconv/example.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libcontainer/specconv/example.go b/libcontainer/specconv/example.go index 827ca9e7..23e225c3 100644 --- a/libcontainer/specconv/example.go +++ b/libcontainer/specconv/example.go @@ -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",