Skip to content

Commit d65b66a

Browse files
committed
maskedPaths: Add /sys/devices/virtual/tpm
Add /sys/devices/virtual/tpm to the mask paths to avoid isolation issues via sysfs for TPM 1.2 Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
1 parent 0a352ff commit d65b66a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

libcontainer/specconv/example.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ func Example() *specs.Spec {
121121
"/proc/sched_debug",
122122
"/sys/firmware",
123123
"/proc/scsi",
124+
"/sys/devices/virtual/tpm",
124125
},
125126
ReadonlyPaths: []string{
126127
"/proc/bus",

0 commit comments

Comments
 (0)