mirror of
https://github.com/speed47/spectre-meltdown-checker
synced 2025-01-03 10:05:44 +01:00
fix(variant3): do our checks even if sysfs is here
This commit is contained in:
parent
ddc7197b86
commit
147462c0ab
@ -1226,7 +1226,8 @@ check_variant3()
|
|||||||
if sys_interface_check "/sys/devices/system/cpu/vulnerabilities/meltdown"; then
|
if sys_interface_check "/sys/devices/system/cpu/vulnerabilities/meltdown"; then
|
||||||
# this kernel has the /sys interface, trust it over everything
|
# this kernel has the /sys interface, trust it over everything
|
||||||
sys_interface_available=1
|
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): "
|
_info_nol "* Kernel supports Page Table Isolation (PTI): "
|
||||||
kpti_support=0
|
kpti_support=0
|
||||||
kpti_can_tell=0
|
kpti_can_tell=0
|
||||||
|
Loading…
Reference in New Issue
Block a user