mirror of
https://github.com/speed47/spectre-meltdown-checker.git
synced 2026-11-23 17:19:11 +01:00
enh: guard x86/arm specific checks in kernel/cpu for the proper arch
This commit is contained in:
1 parent
e110706df8
commit
f7ba617e16
20 files changed
+874
-693
No files matched your search
@@ -24,7 +24,7 @@ check_CVE_2018_12207_linux() {
|
||||
if [ -n "$g_kernel_err" ]; then
|
||||
kernel_itlbmh_err="$g_kernel_err"
|
||||
# commit 5219505fcbb640e273a0d51c19c38de0100ec5a9
|
||||
elif grep -q 'itlb_multihit' "$g_kernel"; then
|
||||
elif is_x86_kernel && grep -q 'itlb_multihit' "$g_kernel"; then
|
||||
kernel_itlbmh="found itlb_multihit in kernel image"
|
||||
fi
|
||||
if [ -n "$kernel_itlbmh" ]; then
|
||||
|
||||
Reference in new issue
Block a user