History log of /system/core/debuggerd/tombstoned/tombstoned.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3272000382e0013a2e3f7ec86d4b45ec15a2c363 02-Jun-2017 Josh Gao <jmgao@google.com> tombstoned: log where we're writing the tombstone.

Make it easy to find out where a specific crash's tombstone was written
to by adding a log.

Bug: http://b/62268830
Test: crasher
Merged-In: I1961dfb19f76a42a8448ebafd4be153b73cb6800
Change-Id: I1961dfb19f76a42a8448ebafd4be153b73cb6800
(cherry picked from commit cb68a0317d1d3f8a32a5fc87e93c1e7fc98a7d24)
/system/core/debuggerd/tombstoned/tombstoned.cpp
ef042d3fc546b73c8e55408920e7cdc7d6c45e9b 30-Mar-2017 Josh Gao <jmgao@google.com> tombstoned: refactor request dequeuing a bit.

Also make it loop, so that upon failing to start a dequeued crash
request, we continue to the next one.

Bug: http://b/36685795
Test: debuggerd_test
Change-Id: I94889125f16f4681c6fa0fa9cac456302602ce01
(cherry picked from commit 807a45807b679ced93ca3af971a30874cffd1929)
/system/core/debuggerd/tombstoned/tombstoned.cpp
a1bd1733aeac2ed6de1a8bab3610faa65051d053 30-Mar-2017 Josh Gao <jmgao@google.com> tombstoned: don't increment num_concurrent_dumps until success.

Previously, we would increment num_concurrent_dumps and fail to
decrement it if we failed to start the request. Change this to
only increment after we've successfully started the dump.

Bug: http://b/36685795
Test: debuggerd_test
Change-Id: I66169ed56ed44271e1d8fe1298d95260be7a32a3
(cherry picked from commit 13078245a0e54c46148ad514703a0f396e5f3c38)
/system/core/debuggerd/tombstoned/tombstoned.cpp
55f79a5953e81c6b7ae56081e3c2fd2711a47dbc 06-Mar-2017 Josh Gao <jmgao@google.com> tombstoned: turn off signal handlers.

Don't try to connect to ourselves in a signal handler (e.g. if someone
does `killall -ABRT tombstoned`).

Test: killall -ABRT tombstoned
Change-Id: Ib69a206f741acb523c9f2883d474c940b6ebfab2
/system/core/debuggerd/tombstoned/tombstoned.cpp
8830c95def6602db3e7e44755f840a9155f83d2a 06-Mar-2017 Josh Gao <jmgao@google.com> tombstoned: create tombstones with 0640 permissions.

Make tombstones group readable to allow them to be picked up by the
dropbox service.

Bug: http://b/35979630
Test: killall -ABRT rild; dumpsys dropbox
Change-Id: If57cc17563c80d5b5c4887b0937905bffef6b231
/system/core/debuggerd/tombstoned/tombstoned.cpp
8498016b81a393e48ce1e3060872b841298708a3 24-Jan-2017 Josh Gao <jmgao@google.com> tombstoned: silence spurious error messages.

Bug: none
Test: booted after deleting /data/tombstones/*
Test: crasher creates a tombstone
Change-Id: I8b3e8a3b521952412ebc955b2437bf8150220c16
/system/core/debuggerd/tombstoned/tombstoned.cpp
7008c8484d2fa8761b8dcde3af1d62871a6c26d9 19-Jan-2017 George Burgess IV <gbiv@google.com> Fix a call to openat with incorrect arguments

Caught by running clang-FORTIFY over Android.

Bug: None
Test: Builds
Change-Id: If138c4bbb7f5fb40bbb20e24adbb25a6ef1286ac
/system/core/debuggerd/tombstoned/tombstoned.cpp
cbe70cb0a8cb0171f3802273050e851a47b090ed 19-Oct-2016 Josh Gao <jmgao@google.com> debuggerd: advance our amazing bet.

Remove debuggerd in favor of a helper process that gets execed by
crashing processes.

Bug: http://b/30705528
Test: debuggerd_test
Change-Id: I9906c69473989cbf7fe5ea6cccf9a9c563d75906
/system/core/debuggerd/tombstoned/tombstoned.cpp