Commit Graph
1 Commits
Author SHA1 Message Date
Dario Faggioli 2cfae92cb0 L1TF/Linux: remove dead code, fix --sysfs-only bug
We don't use $msg and $status.

Also, by always initializing l1d_mode, we fix the following "crash",
when running with `--sysfs-only`:
`
  CVE-2018-3646 aka 'Foreshadow-NG (VMM), L1 terminal fault'
  * Information from the /sys interface: VMX: vulnerable
  ./spectre-meltdown-checker.sh: line 3945: [: : integer expression expected
`
2019-04-18 18:08:22 +02:00