Merge pull request #2119 from KentaTada/fix-proc-settings

libcontainer: update masked paths of /proc
This commit is contained in:
Mrunal Patel 2019-08-26 09:53:17 -07:00 committed by GitHub
commit f061842f2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -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",