diff options
author | Josh Gao <jmgao@google.com> | 2016-01-13 17:57:14 -0800 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2016-01-14 15:06:37 -0800 |
commit | 7c89f9e955ddd79312113f83cb4c210a68a940aa (patch) | |
tree | d9d7660fe4e280ee2fb395ae3300cb2860ac04dc /libutils/ProcessCallStack.cpp | |
parent | 047597b3fc345ee657ff1f00ad87521cf4ae455f (diff) |
debuggerd: fix several bugs caused by fork/setuid change.
Previously, we weren't PTRACE_ATTACHing to all of the threads of a
process, and we were also trying to do it after forking and dropping
privileges. This patch ensures that all ptrace attaching/detaching
happens in one place, before forking/exiting respectively.
Bug: http://b/26443860
Bug: http://b/26436605
Bug: http://b/26436486
Change-Id: Id94e0c1d9d56c051d0dd281d895aaa3285079198
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions