From 5df504c5f8f6871f7ec79d735490176ba5179d2a Mon Sep 17 00:00:00 2001 From: Josh Gao Date: Thu, 9 May 2019 12:48:17 -0700 Subject: [PATCH] crash_dump: populate uid field. Bug: http://b/132359035 Test: manual Change-Id: I99d8446024fc2d9395132dea45f03317976a9b62 --- debuggerd/crash_dump.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/debuggerd/crash_dump.cpp b/debuggerd/crash_dump.cpp index c608a8c33..cb55745f1 100644 --- a/debuggerd/crash_dump.cpp +++ b/debuggerd/crash_dump.cpp @@ -463,6 +463,7 @@ int main(int argc, char** argv) { ThreadInfo info; info.pid = target_process; info.tid = thread; + info.uid = getuid(); info.process_name = process_name; info.thread_name = get_thread_name(thread);