diff options
author | Stéphane Lesimple <speed47_github@speed47.net> | 2018-01-22 10:56:24 +0100 |
---|---|---|
committer | Stéphane Lesimple <speed47_github@speed47.net> | 2018-01-24 09:04:25 +0100 |
commit | 147462c0ab5100833774a8913079760c344dab67 (patch) | |
tree | 3a631cfa4b8812ac4ee4a9bee9f538f040b0f6a7 | |
parent | ddc7197b868b8762217b6d0ba8ba10791caa6b9f (diff) | |
download | spectre-meltdown-checker-147462c0ab5100833774a8913079760c344dab67.tar.lz spectre-meltdown-checker-147462c0ab5100833774a8913079760c344dab67.tar.xz spectre-meltdown-checker-147462c0ab5100833774a8913079760c344dab67.zip |
fix(variant3): do our checks even if sysfs is here
-rwxr-xr-x | spectre-meltdown-checker.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spectre-meltdown-checker.sh b/spectre-meltdown-checker.sh index f73b92a..6a92a49 100755 --- a/spectre-meltdown-checker.sh +++ b/spectre-meltdown-checker.sh @@ -1226,7 +1226,8 @@ check_variant3() if sys_interface_check "/sys/devices/system/cpu/vulnerabilities/meltdown"; then # this kernel has the /sys interface, trust it over everything sys_interface_available=1 - elif [ "$opt_sysfs_only" != 1 ]; then + fi + if [ "$opt_sysfs_only" != 1 ]; then _info_nol "* Kernel supports Page Table Isolation (PTI): " kpti_support=0 kpti_can_tell=0 |