aboutsummaryrefslogtreecommitdiff
path: root/security/min_addr.c
diff options
context:
space:
mode:
authorSimon Kagstrom <simon.kagstrom@netinsight.net>2009-10-16 14:09:18 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-11-30 12:01:49 +0000
commit456b565cc52fbcdaa2e19ffdf40d9dd3b726d603 (patch)
treec73029f31756289ed54183e97e0613f87cef6ed5 /security/min_addr.c
parent7cb777a3d71f9d1f7eb149c7a504d21f24219ae8 (diff)
core: Add kernel message dumper to call on oopses and panics
The core functionality is implemented as per Linus suggestion from http://lists.infradead.org/pipermail/linux-mtd/2009-October/027620.html (with the kmsg_dump implementation by Linus). A struct kmsg_dumper has been added which contains a callback to dump the kernel log buffers on crashes. The kmsg_dump function gets called from oops_exit() and panic() and invokes this callbacks with the crash reason. [dwmw2: Fix log_end handling] Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net> Reviewed-by: Anders Grafstrom <anders.grafstrom@netinsight.net> Reviewed-by: Linus Torvalds <torvalds@linux-foundation.org> Acked-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'security/min_addr.c')
0 files changed, 0 insertions, 0 deletions