mirror of
https://github.com/speed47/spectre-meltdown-checker
synced 2025-01-05 02:48:41 +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
|
else
|
||||||
pstatus red NO
|
pstatus red NO
|
||||||
fi
|
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
|
else
|
||||||
pstatus yellow UNKNOWN
|
pstatus yellow UNKNOWN
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user