platform_system_core/debuggerd
Josh Gao 8d6ca194ee 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: I93f6423e6de38e2bc6c75d8d33052da4cd2daa8a
2016-07-14 16:19:49 -07:00
..
arm Uploaded native crash dumps do not include memory contents 2013-04-05 16:30:15 -07:00
mips Uploaded native crash dumps do not include memory contents 2013-04-05 16:30:15 -07:00
x86 Uploaded native crash dumps do not include memory contents 2013-04-05 16:30:15 -07:00
Android.mk Add liblog 2013-04-09 22:03:45 -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.c DO NOT MERGE: debuggerd: verify that traced threads belong to the right process. 2016-07-14 16:19:49 -07:00
backtrace.h debuggerd now notifies the Activity Manager about native crashes 2013-04-01 10:37:24 -07:00
crasher.c Improve the crasher stack-overflow command. 2013-07-15 17:19:02 -07:00
debuggerd.c DO NOT MERGE: debuggerd: verify that traced threads belong to the right process. 2016-07-14 16:19:49 -07:00
getevent.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
getevent.h Use libcorkscrew in debuggerd. 2011-10-22 16:43:00 -07:00
machine.h Enhance native stack dumps. 2012-06-08 13:29:23 -07:00
tombstone.c DO NOT MERGE: debuggerd: verify that traced threads belong to the right process. 2016-07-14 16:19:49 -07:00
tombstone.h Modify debuggerd to cope with the abort message. 2013-04-05 15:59:17 -07:00
utility.c DO NOT MERGE: debuggerd: verify that traced threads belong to the right process. 2016-07-14 16:19:49 -07:00
utility.h DO NOT MERGE: debuggerd: verify that traced threads belong to the right process. 2016-07-14 16:19:49 -07:00
vfp-crasher.c Dump VFP registers and status word when native app crashes. 2009-12-17 12:53:06 -08:00
vfp.S Use arch flags instead of TARGET_ARCH_VARIANT, and add support for VFP_D16 2010-03-10 14:36:08 -08:00