mirror of
https://github.com/speed47/spectre-meltdown-checker
synced 2025-01-05 10:59:07 +01:00
fix some typos (#73)
This commit is contained in:
parent
dce917bfbb
commit
45b98e125f
@ -103,7 +103,7 @@ __echo()
|
|||||||
# strip ANSI color codes
|
# strip ANSI color codes
|
||||||
_msg=$(/bin/echo -e "$_msg" | sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g")
|
_msg=$(/bin/echo -e "$_msg" | sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g")
|
||||||
fi
|
fi
|
||||||
# explicitely call /bin/echo to avoid shell builtins that might not take options
|
# explicitly call /bin/echo to avoid shell builtins that might not take options
|
||||||
/bin/echo $opt -e "$_msg"
|
/bin/echo $opt -e "$_msg"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -609,7 +609,7 @@ check_variant1()
|
|||||||
status=UNK
|
status=UNK
|
||||||
pstatus yellow UNKNOWN
|
pstatus yellow UNKNOWN
|
||||||
else
|
else
|
||||||
# here we disassemble the kernel and count the number of occurences of the LFENCE opcode
|
# here we disassemble the kernel and count the number of occurrences of the LFENCE opcode
|
||||||
# in non-patched kernels, this has been empirically determined as being around 40-50
|
# in non-patched kernels, this has been empirically determined as being around 40-50
|
||||||
# in patched kernels, this is more around 70-80, sometimes way higher (100+)
|
# in patched kernels, this is more around 70-80, sometimes way higher (100+)
|
||||||
# v0.13: 68 found in a 3.10.23-xxxx-std-ipv6-64 (with lots of modules compiled-in directly), which doesn't have the LFENCE patches,
|
# v0.13: 68 found in a 3.10.23-xxxx-std-ipv6-64 (with lots of modules compiled-in directly), which doesn't have the LFENCE patches,
|
||||||
|
Loading…
Reference in New Issue
Block a user