diff options
author | Stéphane Lesimple <speed47_github@speed47.net> | 2018-01-17 11:07:47 +0100 |
---|---|---|
committer | Stéphane Lesimple <speed47_github@speed47.net> | 2018-01-17 11:07:47 +0100 |
commit | 5b6e39916d6b7824701a008383838f43a18f5553 (patch) | |
tree | 31c84a1663a83d3f48f661fb7a5ae63b4b0e3d61 | |
parent | 556951d5f0739485f5077c77c1860ce854d393ba (diff) | |
download | spectre-meltdown-checker-5b6e39916d6b7824701a008383838f43a18f5553.tar.lz spectre-meltdown-checker-5b6e39916d6b7824701a008383838f43a18f5553.tar.xz spectre-meltdown-checker-5b6e39916d6b7824701a008383838f43a18f5553.zip |
fix(atom): properly detect Nxxx Atom series
-rwxr-xr-x | spectre-meltdown-checker.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spectre-meltdown-checker.sh b/spectre-meltdown-checker.sh index 1c9f653..2c8cd1b 100755 --- a/spectre-meltdown-checker.sh +++ b/spectre-meltdown-checker.sh @@ -171,7 +171,9 @@ is_cpu_vulnerable() # Intel # Old Atoms are not vulnerable to spectre 2 nor meltdown # https://security-center.intel.com/advisory.aspx?intelid=INTEL-SA-00088&languageid=en-fr - if grep -qE '^model name.+ Atom\(TM\) CPU +(S|D|N|230|330)' /proc/cpuinfo; then + # model name : Genuine Intel(R) CPU N270 @ 1.60GHz + # model name : Intel(R) Atom(TM) CPU 330 @ 1.60GHz + if grep -qE '^model name.+ Intel\(R\) (Atom\(TM\) CPU +(S|D|230|330)|CPU N\d{3} )' /proc/cpuinfo; then variant2=1 variant3=1 fi |