platform_system_core/debuggerd
Elliott Hughes 76eb935bd4 debuggerd: add an opt-out for OEMs that would rather collect core dumps.
On userdebug/eng devices, check a system property to see whether we
should create tombstones or not. OEMs that would rather have core dumps
can set this property and configure /proc/sys/kernel/core_pattern
appropriately.

Bug: https://issuetracker.google.com/149663286
Test: set the property, cause a crash
Change-Id: If894b4582a1820b64bdae819cec593b7710cb6e3
(cherry picked from commit 530ab81e42)
2020-03-06 09:21:45 -08:00
..
client [GWP-ASan] Add GWP-ASan information to tombstones. 2020-02-18 16:49:50 -08:00
common/include tombstoned: allow intercepts for java traces. 2017-05-31 10:35:32 +01:00
crasher debuggerd: switch to using platform headers for DEBUGGER_SIGNAL. 2019-12-17 16:36:05 -08:00
handler [GWP-ASan] Add GWP-ASan information to tombstones. 2020-02-18 16:49:50 -08:00
include/debuggerd debuggerd: add an opt-out for OEMs that would rather collect core dumps. 2020-03-06 09:21:45 -08:00
libdebuggerd [GWP-ASan] Add GWP-ASan information to tombstones. 2020-02-18 16:49:50 -08:00
seccomp_policy debuggerd seccomp: explain why we define PROT_READ/WRITE. 2018-02-18 23:50:19 -08:00
tombstoned debuggerd: increase the default limit on tombstones to 32. 2019-09-26 14:36:01 -07:00
.clang-format Remove extraneous .clang-format files 2017-03-14 14:06:31 -07:00
Android.bp [GWP-ASan] Add GWP-ASan information to tombstones. 2020-02-18 16:49:50 -08:00
crash_dump.cpp [GWP-ASan] Add GWP-ASan information to tombstones. 2020-02-18 16:49:50 -08:00
debuggerd.cpp debuggerd: add support for Java traces. 2018-06-14 15:40:06 -07:00
debuggerd_benchmark.cpp debuggerd: add pause time benchmark. 2017-12-19 16:36:04 -08:00
debuggerd_test.cpp debuggerd: switch to using platform headers for DEBUGGER_SIGNAL. 2019-12-17 16:36:05 -08:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
OWNERS Add OWNERS. 2017-12-07 13:30:03 -08:00
protocol.h [GWP-ASan] Add GWP-ASan information to tombstones. 2020-02-18 16:49:50 -08:00
util.cpp debuggerd: switch to base::{Send,Receive}FileDescriptors. 2019-02-13 13:21:54 -08:00
util.h debuggerd: switch to base::{Send,Receive}FileDescriptors. 2019-02-13 13:21:54 -08:00