commit | b80fe7a48dc14c59eefbe3eb8f54d777c1d4f54c | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Thu May 09 12:48:17 2019 -0700 |
committer | Josh Gao <jmgao@google.com> | Thu May 09 16:48:01 2019 -0700 |
tree | 6b772548640ea3d10b030e80ceaa049b0d00c12c | |
parent | 482ea4a611a4f3259a5b9bd664f77e965bafeeb7 [diff] |
crash_dump: populate uid field. Bug: http://b/132359035 Test: manual Change-Id: I99d8446024fc2d9395132dea45f03317976a9b62 (cherry picked from commit 5df504c5f8f6871f7ec79d735490176ba5179d2a)
diff --git a/debuggerd/crash_dump.cpp b/debuggerd/crash_dump.cpp index c608a8c..cb55745 100644 --- a/debuggerd/crash_dump.cpp +++ b/debuggerd/crash_dump.cpp
@@ -463,6 +463,7 @@ ThreadInfo info; info.pid = target_process; info.tid = thread; + info.uid = getuid(); info.process_name = process_name; info.thread_name = get_thread_name(thread);