commit | 5df504c5f8f6871f7ec79d735490176ba5179d2a | [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 12:49:57 2019 -0700 |
tree | 487639f986921a2ae3cc5f6bace7da02b22911a6 | |
parent | 0cd8102bbd12fc1ebe01e5efd139368936c190f9 [diff] [blame] |
crash_dump: populate uid field. Bug: http://b/132359035 Test: manual Change-Id: I99d8446024fc2d9395132dea45f03317976a9b62
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);