1
0
mirror of https://github.com/speed47/spectre-meltdown-checker synced 2024-12-22 20:33:56 +01:00

feat: show RSB filling capability for non-Skylake in verbose mode

This commit is contained in:
Stéphane Lesimple 2018-04-16 09:08:25 +02:00
parent a6f4475cee
commit 68e619b0d3

View File

@ -2298,7 +2298,7 @@ check_variant2_linux()
fi fi
fi fi
if is_skylake_cpu; then if is_skylake_cpu || [ "$opt_verbose" -ge 2 ]; then
_info_nol " * Kernel supports RSB filling: " _info_nol " * Kernel supports RSB filling: "
if ! which "${opt_arch_prefix}strings" >/dev/null 2>&1; then if ! which "${opt_arch_prefix}strings" >/dev/null 2>&1; then
pstatus yellow UNKNOWN "missing '${opt_arch_prefix}strings' tool, please install it, usually it's in the binutils package" pstatus yellow UNKNOWN "missing '${opt_arch_prefix}strings' tool, please install it, usually it's in the binutils package"