platform_system_core/debuggerd/handler
Josh Gao 70adac6a8a debuggerd_fallback: don't recursively abort.
Calls to abort() will always result in our signal handler being called,
because abort will manually unblock SIGABRT before raising it. This
can lead to deadlock when handling address space exhaustion in the
fallback handler. To fix this, switch our mutex to a recursive mutex,
and manually keep track of our lock count.

Bug: http://b/72929749
Test: debuggerd_test --gtest_filter="CrasherTest.seccomp_crash_oom"
Change-Id: I609f263ce93550350b17757189326b627129d4a7
2018-02-22 16:31:38 -08:00
..
debuggerd_fallback.cpp debuggerd_fallback: don't recursively abort. 2018-02-22 16:31:38 -08:00
debuggerd_fallback_nop.cpp debuggerd_handler: implement missing fallback functionality. 2017-03-09 11:26:05 -08:00
debuggerd_handler.cpp debuggerd_handler: set PR_SET_PTRACER before running crash_dump. 2017-12-27 13:19:31 -08:00