Browse Source

Add /proc/scsi to masked paths

This is writeable, and can be used to remove devices. Containers do
not need to know about scsi devices.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
Justin Cormack 7 years ago
parent
commit
a21ecdf3c8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      oci/defaults.go

+ 1 - 0
oci/defaults.go

@@ -119,6 +119,7 @@ func DefaultLinuxSpec() specs.Spec {
 			"/proc/timer_list",
 			"/proc/timer_list",
 			"/proc/timer_stats",
 			"/proc/timer_stats",
 			"/proc/sched_debug",
 			"/proc/sched_debug",
+			"/proc/scsi",
 		},
 		},
 		ReadonlyPaths: []string{
 		ReadonlyPaths: []string{
 			"/proc/asound",
 			"/proc/asound",