platform_system_core/debuggerd
Christopher Ferris 3a14004c7f Fix race condition updating local map data.
If the underlying local map changes, it's possible for multiple
threads to try and modify the map data associated with the UnwindLocalMap
object. Add a lock when generating the local map to avoid this problem.

In addition, add a read lock whenever any caller gets the maps iterator.
Updated all iterator callers to make this lock.

Bug: 29387050
Change-Id: Ie34822c3d8fd3bdb3dd126aeeb399969c36508c1
2016-06-16 23:28:11 -07:00
..
arm Replace all _LOG error calls with ALOGE. 2015-07-01 13:23:19 -07:00
arm64 Replace all _LOG error calls with ALOGE. 2015-07-01 13:23:19 -07:00
mips Replace all _LOG error calls with ALOGE. 2015-07-01 13:23:19 -07:00
mips64 Replace all _LOG error calls with ALOGE. 2015-07-01 13:23:19 -07:00
test Fix misc-macro-parentheses warnings in adb, debuggerd, libbacktrace. 2016-05-18 15:53:15 -07:00
x86 Replace all _LOG error calls with ALOGE. 2015-07-01 13:23:19 -07:00
x86_64 Replace all _LOG error calls with ALOGE. 2015-07-01 13:23:19 -07:00
.clang-format debuggerd: add .clang-format. 2015-11-16 17:26:22 -08:00
Android.mk Add a fortify test to crasher. 2016-05-10 14:44:59 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
NOTICE auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
backtrace.cpp Fix problem with wait_for_gdb. 2016-05-05 10:50:39 -07:00
backtrace.h Fix problem with wait_for_gdb. 2016-05-05 10:50:39 -07:00
crasher.cpp Add a fortify test to crasher. 2016-05-10 14:44:59 -07:00
debuggerd.cpp Set groups before dropping privileges. 2016-05-05 15:47:16 -07:00
debuggerd.rc Start debuggerd as soon as logd is up. 2016-02-02 13:03:41 -08:00
debuggerd64.rc Start debuggerd as soon as logd is up. 2016-02-02 13:03:41 -08:00
elf_utils.cpp Fix misc-macro-parentheses warnings in adb, debuggerd, libbacktrace. 2016-05-18 15:53:15 -07:00
elf_utils.h Print the build id of shared libraries if present. 2015-03-17 15:13:35 -07:00
getevent.cpp system/core: Cleanup direct calls to opendir by containing in a 2016-02-18 14:52:46 -08:00
getevent.h Use libcorkscrew in debuggerd. 2011-10-22 16:43:00 -07:00
machine.h Refactor dump_memory function. 2015-05-28 11:45:34 -07:00
signal_sender.cpp debuggerd: set the name of the signal sender. 2016-03-29 17:56:47 -07:00
signal_sender.h debuggerd: fork the signal sender once. 2016-03-17 11:27:31 -07:00
tombstone.cpp Fix race condition updating local map data. 2016-06-16 23:28:11 -07:00
tombstone.h Fix problem with wait_for_gdb. 2016-05-05 10:50:39 -07:00
utility.cpp Fix problem with wait_for_gdb. 2016-05-05 10:50:39 -07:00
utility.h Fix problem with wait_for_gdb. 2016-05-05 10:50:39 -07:00