summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2016-09-29 21:56:59 -0700
committerBill Richardson <wfrichar@chromium.org>2016-10-01 03:13:43 +0000
commit08e8310a8765b20c6ad9ad7968f63c4decc06007 (patch)
treef4c65bde9f3458468602ecdc802fb395348ef665
parent710f4ff4cabef0ac86d37356dbb60a4e7f6b0e28 (diff)
downloadchrome-ec-08e8310a8765b20c6ad9ad7968f63c4decc06007.tar.gz
Cr50: The chan command is not safe.
It could be used to sniff TPM commands. BUG=chrome-os-partner:57408 BRANCH=none TEST=make buildall; try on Gru with and without CR50_DEV=1 Signed-off-by: Bill Richardson <wfrichar@chromium.org> Change-Id: Ia2e11fb8e01002c2cf5e53b175e3e8b2741e4585 Reviewed-on: https://chromium-review.googlesource.com/391244 Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
-rw-r--r--common/console_output.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/console_output.c b/common/console_output.c
index 1102294fd7..7354ea4392 100644
--- a/common/console_output.c
+++ b/common/console_output.c
@@ -146,6 +146,6 @@ static int command_ch(int argc, char **argv)
}
return EC_SUCCESS;
};
-DECLARE_SAFE_CONSOLE_COMMAND(chan, command_ch,
- "[ save | restore | <mask> ]",
- "Save, restore, get or set console channel mask");
+DECLARE_CONSOLE_COMMAND(chan, command_ch,
+ "[ save | restore | <mask> ]",
+ "Save, restore, get or set console channel mask");