summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2018-02-22 11:38:33 -0800
committerJosh Gao <jmgao@google.com>2018-02-22 16:31:38 -0800
commit70adac6a8a8469b6a4c248417bba33fa8381b9ad (patch)
tree7474d0f38e7acf8291be530c7b1dd9bdf8179583 /trusty/coverage/coverage_test.cpp
parentcdf778f5d92ab8748897a4d95693524d3273c23a (diff)
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
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions