summaryrefslogtreecommitdiffhomepage
path: root/runsc/mitigate
diff options
context:
space:
mode:
authorHoward Zhang <howard.zhang@arm.com>2021-03-31 18:31:59 +0800
committerHoward Zhang <howard.zhang@arm.com>2021-04-01 10:56:33 +0800
commit73679fae2a74697f26aedf9c5d219368bd4de469 (patch)
tree57de9ed87ea6226c5a868beb6a2669d6c8450577 /runsc/mitigate
parent8a2f7e716dcc62f04d2808e8ade34941c94fc956 (diff)
Disable mitigate and related test on ARM64
As MDS side channel attack does not affect ARM64, we disable mitigate on ARM64 in case misusage. For more detail, please refer to: https://access.redhat.com/security/vulnerabilities/mds Signed-off-by: Howard Zhang <howard.zhang@arm.com>
Diffstat (limited to 'runsc/mitigate')
-rw-r--r--runsc/mitigate/mitigate_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/runsc/mitigate/mitigate_test.go b/runsc/mitigate/mitigate_test.go
index fbd8eb886..bd5a2433f 100644
--- a/runsc/mitigate/mitigate_test.go
+++ b/runsc/mitigate/mitigate_test.go
@@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+// +build amd64
+
package mitigate
import (