1
0
mirror of https://github.com/speed47/spectre-meltdown-checker synced 2024-12-23 04:43:37 +01:00

fix(atom): don't use a pcre regex, only an extended one

This commit is contained in:
Stéphane Lesimple 2018-01-17 12:01:13 +01:00
parent 5b6e39916d
commit 5ab95f3656

View File

@ -173,7 +173,7 @@ is_cpu_vulnerable()
# https://security-center.intel.com/advisory.aspx?intelid=INTEL-SA-00088&languageid=en-fr
# 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
if grep -qE '^model name.+ Intel\(R\) (Atom\(TM\) CPU +(S|D|230|330)|CPU N[0-9]{3} )' /proc/cpuinfo; then
variant2=1
variant3=1
fi