mirror of
https://github.com/speed47/spectre-meltdown-checker.git
synced 2024-12-05 02:38:04 +01:00
add System.map way of detecting kpti build
This commit is contained in:
parent
0c4591f8ec
commit
c937e6603b
@ -115,6 +115,13 @@ elif [ -e /boot/config-$(uname -r) ]; then
|
||||
else
|
||||
pstatus red NO
|
||||
fi
|
||||
elif [ -e /boot/System.map-$(uname -r) ]; then
|
||||
if grep -qw kpti_force_enabled /boot/System.map-$(uname -r)
|
||||
pstatus green YES
|
||||
kpti_support=1
|
||||
else
|
||||
pstatus red NO
|
||||
fi
|
||||
else
|
||||
pstatus yellow UNKNOWN
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user