Go to file
Greg Hackmann f7511e3bc9 bionic: add missing memory barriers to system properties
1) Reading the value must finish before checking whether it's intact

2) Setting the serial's dirty bit must visible before modifying the
value

3) The modified value must be visible before clearing the serial's dirty
bit

4) New properties and their TOC entries must be visible before updating
the property count

Signed-off-by: Greg Hackmann <ghackmann@google.com>

(cherry picked from commit 5bfa3ee8b3)

Change-Id: Id3fa45261fc2df2ae493ab5194bc2b6bff04e966
2013-06-24 16:35:27 -07:00
libc bionic: add missing memory barriers to system properties 2013-06-24 16:35:27 -07:00
libdl Drop unnecessary execution permission for .cpp/.c/.h 2013-03-22 10:28:15 +08:00
libm Take upstream libm changes. 2013-06-12 16:37:58 -07:00
libstdc++ Clean up internal libc logging. 2013-03-15 16:12:58 -07:00
libthread_db Fix the pthread_setname_np test. 2013-02-15 12:08:59 -08:00
linker linker: Emit a warning on text relocations 2013-06-21 15:33:15 -07:00
tests bionic: make property area expandable 2013-06-24 16:35:15 -07:00
.gitignore Merge memory checking functionality from sandbox 2010-02-16 11:43:18 -08:00
ABI-bugs.txt Regenerate NOTICE files. 2013-03-07 11:51:10 -08:00
Android.mk Remove the simulator target from all makefiles. 2011-07-11 22:11:41 -07:00
CleanSpec.mk Add an empty CleanSpec.mk 2010-03-08 18:04:02 -08:00