summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2018-04-18 18:11:01 -0700
committerJosh Gao <jmgao@google.com>2018-05-02 14:43:50 -0700
commit598061ff6da61fe6c86abc78af9fe088a29d6fea (patch)
tree18f954b79df3f7918efcd7804439de482b563e11 /trusty/coverage/coverage_test.cpp
parent979931803b5ba3a19db6e2ff3971f8447147fb8e (diff)
tombstoned: don't create tombstones for failed dumps.
Instead of creating tombstone FDs in place and passing them out to crash_dump directly, create them as O_TMPFILEs and link them into place when crash_dump reports success, to avoid creating empty tombstones in cases like an aborting thread racing with another thread that manages to cleanly exit_group before the dump finishes. Bug: http://b/77729983 Test: debuggerd_test Test: adb shell 'for x in `seq 0 50`; do crasher; done' Change-Id: I31ce4fd4a524abf8bde57152450209483d9d0ba9 (cherry picked from commit 48383c806af629bb755ce120ba30e8cb70eb5f23)
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions