CHROMIUM: panic: call panic handlers before kmsg_dump

Since the panic handlers may produce additional information for the
kernel log, it should be reported as part of the panic output saved by
kmsg_dump(). Without this, stuff like the kASLR offset is not visible
in pstore, and therefore not visible to crash reporters.

BUG=chromium:23031
TEST=manual crashing of a kASLR kernel shows offset in crash reports.

Change-Id: I1fce3783adf65f3ce87e8b2addb792e7050adcbc
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/62431
Reviewed-by: Grant Grundler <grundler@chromium.org>
Reviewed-by: Sonny Rao <sonnyrao@chromium.org>
1 file changed