diff options
author | Zach Koopmans <zkoopmans@google.com> | 2021-03-02 14:08:33 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-03-02 14:10:51 -0800 |
commit | b8a5420f49a2afd622ec08b5019e1bf537f7da82 (patch) | |
tree | ef1e6167acf886322ea42c7056515cec0c24adcd /runsc/mitigate/mitigate_conf.go | |
parent | a317174673562996a98f5a735771955d6651e233 (diff) |
Add reverse flag to mitigate.
Add reverse operation to mitigate that just enables
all CPUs.
PiperOrigin-RevId: 360511215
Diffstat (limited to 'runsc/mitigate/mitigate_conf.go')
-rw-r--r-- | runsc/mitigate/mitigate_conf.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/mitigate/mitigate_conf.go b/runsc/mitigate/mitigate_conf.go index 1e74f5891..ee326324b 100644 --- a/runsc/mitigate/mitigate_conf.go +++ b/runsc/mitigate/mitigate_conf.go @@ -32,6 +32,6 @@ func (m mitigate) execute(set cpuSet, dryrun bool) error { return nil } -func (m mitigate) vulnerable(other *thread) bool { +func (m mitigate) vulnerable(other thread) bool { return other.isVulnerable() } |