platform_system_core/debuggerd/libdebuggerd
Josh Gao 57f58f8e4a crash_dump: fetch process/thread names before dropping privileges.
Processes that don't have dumpable set to 1 cannot have their
process/thread names read by processes that don't have all of their
capabilities. Fetch these names in crash_dump before dropping
privileges.

Bug: http://b/36237221
Test: debuggerd_test
Test: debuggerd -b `pidof android.hardware.bluetooth@1.0-service`
Change-Id: I174769e7b3c1ea9f11f9c8cbdff83028a4225783
2017-03-15 23:30:14 -07:00
..
arm debuggerd: advance our amazing bet. 2017-01-17 13:57:57 -08:00
arm64 debuggerd: advance our amazing bet. 2017-01-17 13:57:57 -08:00
include crash_dump: fetch process/thread names before dropping privileges. 2017-03-15 23:30:14 -07:00
mips debuggerd: advance our amazing bet. 2017-01-17 13:57:57 -08:00
mips64 debuggerd: advance our amazing bet. 2017-01-17 13:57:57 -08:00
test There's no longer a limit to property names. 2017-02-28 14:12:54 -08:00
x86 debuggerd: advance our amazing bet. 2017-01-17 13:57:57 -08:00
x86_64 debuggerd: advance our amazing bet. 2017-01-17 13:57:57 -08:00
backtrace.cpp crash_dump: fetch process/thread names before dropping privileges. 2017-03-15 23:30:14 -07:00
elf_utils.cpp debuggerd: advance our amazing bet. 2017-01-17 13:57:57 -08:00
open_files_list.cpp debuggerd: advance our amazing bet. 2017-01-17 13:57:57 -08:00
tombstone.cpp crash_dump: fetch process/thread names before dropping privileges. 2017-03-15 23:30:14 -07:00
utility.cpp crash_dump: fetch process/thread names before dropping privileges. 2017-03-15 23:30:14 -07:00