From 2d94514c07db5d64aa00173258e506269ae255e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Lesimple?= Date: Tue, 9 Jan 2018 08:43:52 +0100 Subject: [PATCH] adding mention of heuristic for variant 1 check --- spectre-meltdown-checker.sh | 6 +++--- 1 file 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