mirror of
https://github.com/speed47/spectre-meltdown-checker
synced 2024-12-22 12:23:36 +01:00
fix(variant4): add another detection way for Red Hat kernel
This commit is contained in:
parent
85d46b2799
commit
f4d51e7e53
@ -2928,7 +2928,7 @@ check_variant4()
|
||||
if [ "$opt_sysfs_only" != 1 ]; then
|
||||
_info_nol " * Kernel supports speculation store bypass: "
|
||||
if [ "$opt_live" = 1 ]; then
|
||||
if grep -q 'Speculation.Store.Bypass:' /proc/self/status 2>/dev/null; then
|
||||
if grep -Eq 'Speculation.?Store.?Bypass:' /proc/self/status 2>/dev/null; then
|
||||
kernel_ssb='found in /proc/self/status'
|
||||
_debug "found Speculation.Store.Bypass: in /proc/self/status"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user