android_system_core/include
Christopher Ferris 0c572d01af 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
Bug: 31067025

(cherry picked from commit 3a14004c7f)

Change-Id: Id00116f156a24b36085c0d5dfc3dde4d2ac55194
2016-08-25 15:01:53 -07:00
..
android log: Fix warning with __USE_MINGW_ANSI_STDIO 2014-06-12 13:19:51 -07:00
backtrace Fix race condition updating local map data. 2016-08-25 15:01:53 -07:00
binderwrapper libbinderwrapper: Add BinderWrapper::GetOrCreateInstance() 2016-01-04 12:56:27 -08:00
cutils Add utility to prepare files in a similar way to directories 2016-05-24 18:19:12 +01:00
diskconfig
log liblog: add android_log_write_string8_len 2016-02-25 15:53:00 -08:00
memtrack Fix typos in comments 2015-04-20 10:10:33 -07:00
mincrypt
nativebridge LibNativeBridge: Version 2 2015-05-31 16:58:24 -07:00
netutils Remove a dead header (<netutils/dhcp.h>). 2016-05-18 14:22:15 -07:00
private Add UIDs for system DNS and tethering DNS 2016-07-08 17:49:40 +09:00
system NativeWindow: Add LAST_[DE]QUEUE_DURATION queries 2016-07-01 16:07:00 -07:00
sysutils Fix vold vulnerability in FrameworkListener am: 470484d2a2 am: e9e046df6c am: 109024f74a am: b906ad88b9 am: 2fadbb93a4 am: e04054d9bb 2016-08-19 22:36:29 +00:00
usbhost libusbhost: add usb_device_reset 2016-01-13 16:01:42 -08:00
utils Fix Mutex::timedLock to properly handle relative time 2016-08-24 22:29:11 +00:00
ziparchive libziparchive: ensure ReadAtOffset is atomic 2016-03-09 17:17:19 -08:00