aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStéphane Lesimple <speed47_github@speed47.net>2018-01-09 08:43:52 +0100
committerStéphane Lesimple <speed47_github@speed47.net>2018-01-09 08:43:52 +0100
commit2d94514c07db5d64aa00173258e506269ae255e3 (patch)
treec1152f6968ff89256b464ea31edf09fdf0159a97
parent0e8f97afbcf4cee29db68911b0baca9b57cd3272 (diff)
downloadspectre-meltdown-checker-2d94514c07db5d64aa00173258e506269ae255e3.tar.lz
spectre-meltdown-checker-2d94514c07db5d64aa00173258e506269ae255e3.tar.xz
spectre-meltdown-checker-2d94514c07db5d64aa00173258e506269ae255e3.zip
adding mention of heuristic for variant 1 check
-rwxr-xr-xspectre-meltdown-checker.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/spectre-meltdown-checker.sh b/spectre-meltdown-checker.sh
index 314ce32..3a2c5c3 100755
--- a/spectre-meltdown-checker.sh
+++ b/spectre-meltdown-checker.sh
@@ -234,7 +234,7 @@ fi
###########
# SPECTRE 1
/bin/echo -e "\033[1;34mCVE-2017-5753 [bounds check bypass] aka 'Spectre Variant 1'\033[0m"
-/bin/echo -n "* Kernel compiled with LFENCE opcode inserted at the proper places: "
+/bin/echo -n "* Checking count of LFENCE opcodes in kernel: "
status=0
if [ -n "$vmlinux_err" ]; then
@@ -262,8 +262,8 @@ fi
/bin/echo -ne "> \033[46m\033[30mSTATUS:\033[0m "
[ "$status" = 0 ] && pstatus yellow UNKNOWN
-[ "$status" = 1 ] && pstatus red VULNERABLE
-[ "$status" = 2 ] && pstatus green 'NOT VULNERABLE'
+[ "$status" = 1 ] && pstatus red 'VULNERABLE' 'heuristic to be improved when official patches become available'
+[ "$status" = 2 ] && pstatus green 'NOT VULNERABLE' 'heuristic to be improved when official patches become available'
###########
# VARIANT 2