aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvestre Ledru <sledru@mozilla.com>2018-01-13 13:13:40 +0100
committerStéphane Lesimple <speed47_github@speed47.net>2018-01-13 13:13:40 +0100
commit45b98e125fcda2e0bd718e943d867603a0590b92 (patch)
tree31f6dc381ecf08c2cc548133fe3647fd773b2308
parentdce917bfbb4fa5e135b7ed4c84881086766be802 (diff)
downloadspectre-meltdown-checker-45b98e125fcda2e0bd718e943d867603a0590b92.tar.lz
spectre-meltdown-checker-45b98e125fcda2e0bd718e943d867603a0590b92.tar.xz
spectre-meltdown-checker-45b98e125fcda2e0bd718e943d867603a0590b92.zip
fix some typos (#73)
-rwxr-xr-xspectre-meltdown-checker.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/spectre-meltdown-checker.sh b/spectre-meltdown-checker.sh
index cb2f77c..1cd0cdb 100755
--- a/spectre-meltdown-checker.sh
+++ b/spectre-meltdown-checker.sh
@@ -103,7 +103,7 @@ __echo()
# strip ANSI color codes
_msg=$(/bin/echo -e "$_msg" | sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g")
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"
}
@@ -609,7 +609,7 @@ check_variant1()
status=UNK
pstatus yellow UNKNOWN
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 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,