1
0
mirror of https://github.com/speed47/spectre-meltdown-checker synced 2024-11-19 04:22:22 +01:00

Warn on missing kernel info (#265)

Missing kernel information can cause all sorts of false positives or
negatives. This is worth at least a warning, and repeating immediately
following the status.
This commit is contained in:
Brett T. Warden 2018-11-25 09:37:03 -08:00 committed by Stéphane Lesimple
parent 4a6fa070a4
commit c45a06f414

View File

@ -1648,7 +1648,7 @@ if [ "$os" = Linux ]; then
fi
if [ "$bad_accuracy" = 1 ]; then
_info "We're missing some kernel info (see -v), accuracy might be reduced"
_warn "We're missing some kernel info (see -v), accuracy might be reduced"
fi
fi
@ -3942,6 +3942,10 @@ if [ -n "$final_summary" ]; then
_info ""
fi
if [ "$bad_accuracy" = 1 ]; then
_warn "We're missing some kernel info (see -v), accuracy might be reduced"
fi
_vars=$(set | grep -Ev '^[A-Z_[:space:]]' | sort | tr "\n" '|')
_debug "variables at end of script: $_vars"