Skip to content

Commit

Permalink
maskedPaths: Add /sys/devices/virtual/tpm
Browse files Browse the repository at this point in the history
Add /sys/devices/virtual/tpm to the mask paths to avoid isolation
issues via sysfs for TPM 1.2

Signed-off-by: Stefan Berger <[email protected]>
  • Loading branch information
stefanberger committed Jul 6, 2020
1 parent 7279c3e commit 209338c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libcontainer/specconv/example.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ func Example() *specs.Spec {
"/proc/sched_debug",
"/sys/firmware",
"/proc/scsi",
"/sys/devices/virtual/tpm",
},
ReadonlyPaths: []string{
"/proc/bus",
Expand Down

0 comments on commit 209338c

Please sign in to comment.