Skip to content

Commit f061842

Browse files
author
Mrunal Patel
authored
Merge pull request #2119 from KentaTada/fix-proc-settings
libcontainer: update masked paths of /proc
2 parents 3525edd + c740965 commit f061842

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

libcontainer/specconv/example.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,10 @@ func Example() *specs.Spec {
110110
},
111111
Linux: &specs.Linux{
112112
MaskedPaths: []string{
113+
"/proc/acpi",
114+
"/proc/asound",
113115
"/proc/kcore",
116+
"/proc/keys",
114117
"/proc/latency_stats",
115118
"/proc/timer_list",
116119
"/proc/timer_stats",
@@ -119,7 +122,6 @@ func Example() *specs.Spec {
119122
"/proc/scsi",
120123
},
121124
ReadonlyPaths: []string{
122-
"/proc/asound",
123125
"/proc/bus",
124126
"/proc/fs",
125127
"/proc/irq",

0 commit comments

Comments
 (0)