summaryrefslogtreecommitdiff
path: root/libutils/ProcessCallStack.cpp
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2016-07-14 16:05:10 -0700
committerJosh Gao <jmgao@google.com>2016-07-18 19:35:45 +0000
commit36dd1443670c571fa9f4a8904479c6bd8e8444c6 (patch)
tree6ef64d1329523a31da0e478043a92bd26ef83947 /libutils/ProcessCallStack.cpp
parent71da8e7537b05f7e5b107e3f9f6476c2493f0cbc (diff)
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
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions