android_system_core/debuggerd/tombstoned
Josh Gao 48383c806a 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
2018-04-19 14:33:18 -07:00
..
include/tombstoned tombstoned: allow intercepts for java traces. 2017-05-31 10:35:32 +01:00
intercept_manager.cpp tombstoned: fix another call to evconnlistener_new. 2017-09-22 18:00:35 -07:00
intercept_manager.h tombstoned: allow intercepts for java traces. 2017-05-31 10:35:32 +01:00
tombstoned.cpp tombstoned: don't create tombstones for failed dumps. 2018-04-19 14:33:18 -07:00
tombstoned.rc tombstoned: Support java trace dumps. 2017-05-18 12:01:14 +00:00
tombstoned_client.cpp tombstoned: allow intercepts for java traces. 2017-05-31 10:35:32 +01:00