1 # Copyright 2018 The Chromium OS Authors. All rights reserved. 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 5 AUTHOR = "Chrome OS Team" 6 NAME = "security_CpuVulnerabilities" 7 PURPOSE = "Ensure Chrome OS contains mitigations against CPU vulnerabilities." 8 CRITERIA = """ 9 Passes when the kernel reports the appropriate mitigations against CPU 10 vulnerabilities. 11 """ 12 TIME = "SHORT" 13 ATTRIBUTES = "suite:bvt-perbuild" 14 TEST_CATEGORY = "Functional" 15 TEST_CLASS = "security" 16 TEST_TYPE = "client" 17 18 DOC = """ 19 This test ensures that the kernel contains appropriate mitigations against CPU 20 vulnerabilities by checking what the kernel reports in 21 '/sys/devices/system/cpu/vulnerabilities'. 22 """ 23 24 job.run_test('security_CpuVulnerabilities') 25