platform_system_core/debuggerd
Josh Gao 0528829b73 DO NOT MERGE: debuggerd: verify that traced threads belong to the right process.
Fix two races in debuggerd's PTRACE_ATTACH logic:
  1. The target thread in a crash dump request could exit between the
     /proc/<pid>/task/<tid> check and the PTRACE_ATTACH.
  2. Sibling threads could exit between listing /proc/<pid>/task and the
     PTRACE_ATTACH.

Backport of NYC change I4dfe1ea30e2c211d2389321bd66e3684dd757591
Bug: http://b/29555636
Change-Id: I320f47216b21018d3f613cfbbaaff40b3548ef36
2016-07-14 16:47:10 -07:00
..
arm Add missing arm64 registers. 2014-07-14 18:56:53 -07:00
arm64 Add missing arm64 registers. 2014-07-14 18:56:53 -07:00
mips Updated non-ARM archs to reflect logging changes. 2014-06-19 11:33:38 -07:00
x86 Updated non-ARM archs to reflect logging changes. 2014-06-19 11:33:38 -07:00
x86_64 Updated non-ARM archs to reflect logging changes. 2014-06-19 11:33:38 -07:00
Android.mk Fix arm emulator "D register out of range for selected VFP version" build failure. 2014-07-09 16:41:04 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
NOTICE auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
backtrace.cpp DO NOT MERGE: debuggerd: verify that traced threads belong to the right process. 2016-07-14 16:47:10 -07:00
backtrace.h Changing how debuggerd filters log messages to different locations. 2014-06-16 14:41:21 -07:00
crasher.c Add SIGFPE to crasher. 2014-07-15 13:18:32 -07:00
debuggerd.cpp DO NOT MERGE: debuggerd: verify that traced threads belong to the right process. 2016-07-14 16:47:10 -07:00
getevent.cpp Next phase of the move, reformat use C++ features. 2014-01-13 14:21:52 -08:00
getevent.h Use libcorkscrew in debuggerd. 2011-10-22 16:43:00 -07:00
machine.h Changing how debuggerd filters log messages to different locations. 2014-06-16 14:41:21 -07:00
tombstone.cpp DO NOT MERGE: debuggerd: verify that traced threads belong to the right process. 2016-07-14 16:47:10 -07:00
tombstone.h Removed log.quiet and log = NULL cases from debuggerd. 2014-06-19 10:59:01 -07:00
utility.cpp DO NOT MERGE: debuggerd: verify that traced threads belong to the right process. 2016-07-14 16:47:10 -07:00
utility.h DO NOT MERGE: debuggerd: verify that traced threads belong to the right process. 2016-07-14 16:47:10 -07:00