fix(variant3): do our checks even if sysfs is here

This commit is contained in:
Stéphane Lesimple 2018-01-22 10:56:24 +01:00
parent ddc7197b86
commit 147462c0ab
1 changed files with 2 additions and 1 deletions

View File

@ -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