From 468dd6988e12911301d43f95b2d8e3fb3385d6a1 Mon Sep 17 00:00:00 2001 From: Bill Richardson Date: Thu, 29 Sep 2016 23:26:53 -0700 Subject: Cr50: The panicinfo command is not safe It's possible the register values could be sensitive. BUG=chrome-os-partner:57408 BRANCH=none TEST=make buildall; try on Gru with and without CR50_DEV=1 Signed-off-by: Bill Richardson Change-Id: Id3d4df3aaca116a638332f092d4727accd0cbbcd Reviewed-on: https://chromium-review.googlesource.com/391612 Reviewed-by: Vadim Bendebury --- common/panic_output.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/panic_output.c b/common/panic_output.c index 269f08db6c..c9d59f2061 100644 --- a/common/panic_output.c +++ b/common/panic_output.c @@ -219,9 +219,9 @@ static int command_panicinfo(int argc, char **argv) } return EC_SUCCESS; } -DECLARE_SAFE_CONSOLE_COMMAND(panicinfo, command_panicinfo, - NULL, - "Print info from a previous panic"); +DECLARE_CONSOLE_COMMAND(panicinfo, command_panicinfo, + NULL, + "Print info from a previous panic"); /*****************************************************************************/ /* Host commands */ -- cgit v1.2.1