From b8a5420f49a2afd622ec08b5019e1bf537f7da82 Mon Sep 17 00:00:00 2001 From: Zach Koopmans Date: Tue, 2 Mar 2021 14:08:33 -0800 Subject: Add reverse flag to mitigate. Add reverse operation to mitigate that just enables all CPUs. PiperOrigin-RevId: 360511215 --- runsc/mitigate/mitigate_conf.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runsc/mitigate/mitigate_conf.go') 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() } -- cgit v1.2.3