Browse code

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 authored on 2017/11/04 00:12:22
Showing 1 changed files
... ...
@@ -119,6 +119,7 @@ func DefaultLinuxSpec() specs.Spec {
119 119
 			"/proc/timer_list",
120 120
 			"/proc/timer_stats",
121 121
 			"/proc/sched_debug",
122
+			"/proc/scsi",
122 123
 		},
123 124
 		ReadonlyPaths: []string{
124 125
 			"/proc/asound",