From 42eb9eaf294509e560dbf603f985c1dfdbc10f57 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Thu, 11 Apr 2019 15:52:36 +0200 Subject: oci: add /sys/kernel to the masked paths Signed-off-by: Giuseppe Scrivano --- pkg/spec/spec.go | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg/spec') diff --git a/pkg/spec/spec.go b/pkg/spec/spec.go index 9b6bd089e..33c9fd6f3 100644 --- a/pkg/spec/spec.go +++ b/pkg/spec/spec.go @@ -500,6 +500,7 @@ func blockAccessToKernelFilesystems(config *CreateConfig, g *generate.Generator) "/proc/scsi", "/sys/firmware", "/sys/fs/selinux", + "/sys/kernel", } { g.AddLinuxMaskedPaths(mp) } -- cgit v1.2.3-54-g00ecf