add information for hardware mitigation

This commit is contained in:
Hans-Joachim Kliemeck 2018-12-16 19:46:08 +01:00
parent ec44abf43c
commit fd462040b3
1 changed files with 1 additions and 1 deletions

View File

@ -3920,7 +3920,7 @@ check_CVE_2018_3646_linux()
_info_nol " * Hardware-backed L1D flush supported: " _info_nol " * Hardware-backed L1D flush supported: "
if [ "$opt_live" = 1 ]; then if [ "$opt_live" = 1 ]; then
if grep -qw flush_l1d "$procfs/cpuinfo"; then if grep -qw flush_l1d "$procfs/cpuinfo" || [ -z "$l1d_xen_hardware" ]; then
pstatus green YES "performance impact of the mitigation will be greatly reduced" pstatus green YES "performance impact of the mitigation will be greatly reduced"
else else
pstatus blue NO "flush will be done in software, this is slower" pstatus blue NO "flush will be done in software, this is slower"