mirror of
https://github.com/speed47/spectre-meltdown-checker.git
synced 2026-06-13 01:53:02 +02:00
16 lines
521 B
Bash
16 lines
521 B
Bash
# vim: set ts=4 sw=4 sts=4 et:
|
|
###############################
|
|
# CVE-0000-0001, SLS, Straight-Line Speculation
|
|
# Supplementary check, only runs under --extra
|
|
|
|
# shellcheck disable=SC2034
|
|
check_CVE_0000_0001() {
|
|
# SLS is a supplementary check: skip it in the default "all CVEs" run
|
|
# unless --extra is passed, but always run when explicitly selected
|
|
# via --variant sls or --cve CVE-0000-0001
|
|
if [ "$opt_cve_all" = 1 ] && [ "$opt_extra" != 1 ]; then
|
|
return 0
|
|
fi
|
|
check_cve 'CVE-0000-0001'
|
|
}
|