summaryrefslogtreecommitdiff
path: root/libutils/Unicode_test.cpp
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2016-06-30 14:20:18 -0700
committerJosh Gao <jmgao@google.com>2016-07-13 16:49:02 -0700
commit4a875ce6ff678d01648e89f1186debd5a1db6377 (patch)
treebfca8adb748c7396243bc1914c06758d23082c5f /libutils/Unicode_test.cpp
parent34ae543dc3b9c577c39eb9d7063e2f72747f5d26 (diff)
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. Bug: http://b/29555636 Change-Id: I4dfe1ea30e2c211d2389321bd66e3684dd757591
Diffstat (limited to 'libutils/Unicode_test.cpp')
0 files changed, 0 insertions, 0 deletions