summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorWoody Lin <woodylin@google.com>2020-05-08 16:26:56 +0800
committerWoody Lin <woodylin@google.com>2020-05-09 01:30:32 +0800
commitbe1cf9006ab91e77114c19b8f596f8141d8e0b84 (patch)
treecf619836b3b88918926be11c472972c01cad6ac8 /trusty/coverage/coverage_test.cpp
parentd427b54c535d3f56e9db947efa4878346541f890 (diff)
InitFatalReboot: Trigger panic explicitly for init_fatal_panic
The exit of init panics the system *after* process context (mm, stack, ...etc.) are recycled, according to Linux kernel's 'do_exit' implementation. To preserve most init process context for debugging, triggers the panic via proc-sysrq explicitly. Note: after this change, there will be no "Attempt to kill init" panic when androidboot.init_fatal_panic is set. Test: Insert data abort fault in init, the full process context is preserved in memory dump captured after panic. Bug: 155940351 Change-Id: I3393bd00f99b8cb432cfa19a105b7d636b411764
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions