Selaa lähdekoodia

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 vuotta sitten
vanhempi
commit
a21ecdf3c8
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      oci/defaults.go

+ 1 - 0
oci/defaults.go

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