Skip to content

Commit

Permalink
Mask /sys/devices/virtual/powercap by default
Browse files Browse the repository at this point in the history
This mimics #5111 but without the vendor update, which is very
large on this branch.

[NO NEW TESTS NEEDED] This cannot be tested in CI as cloud
providers already don't provide these interfaces in their VMs.

Signed-off-by: Matt Heon <mheon@redhat.com>
  • Loading branch information
mheon authored and openshift-cherrypick-robot committed Oct 30, 2023
1 parent 0926e05 commit bc8e83f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions run_linux.go
Expand Up @@ -1035,6 +1035,7 @@ func setupMaskedPaths(g *generate.Generator) {
"/sys/firmware",
"/sys/fs/selinux",
"/sys/dev",
"/sys/devices/virtual/powercap",
} {
g.AddLinuxMaskedPaths(mp)
}
Expand Down

0 comments on commit bc8e83f

Please sign in to comment.