Skip to content

Commit

Permalink
Merge pull request #2119 from KentaTada/fix-proc-settings
Browse files Browse the repository at this point in the history
libcontainer: update masked paths of /proc
  • Loading branch information
Mrunal Patel authored Aug 26, 2019
2 parents 3525edd + c740965 commit f061842
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libcontainer/specconv/example.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -119,7 +122,6 @@ func Example() *specs.Spec {
"/proc/scsi",
},
ReadonlyPaths: []string{
"/proc/asound",
"/proc/bus",
"/proc/fs",
"/proc/irq",
Expand Down

0 comments on commit f061842

Please sign in to comment.