replicant-frameworks_native/libs/binder
Ji-Hwan Lee c4cd5301d4 Fix invalid madvise() during concurrent alloc/dealloc of MemoryDealer
Currently, madvise(MADV_REMOVE) is called after deallocation.
Another thread might allocate (and even write) the same region between
deallocation and madvise(), in which case the new thread will fail to read
what it have written.  So, call deallocate() after madvise(MADV_REMOVE).

Bug: 5654596
Change-Id: I26f36cd6013de499090768a0ddc68206a4a68219
2011-12-15 04:37:22 +09:00
..
Android.mk
Binder.cpp
BpBinder.cpp Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGE 2011-10-26 09:57:54 +01:00
CursorWindow.cpp resolved conflicts for merge of 2d280f75 to ics-mr1 2011-10-30 14:24:02 -07:00
IInterface.cpp
IMemory.cpp
IPCThreadState.cpp am f1a4c48b: am e21dabf6: Merge "Initialize bwr.read_buffer in IPCThreadState::talkWithDriver." into ics-mr1 2011-12-01 22:08:20 -08:00
IPermissionController.cpp
IServiceManager.cpp
MemoryBase.cpp
MemoryDealer.cpp Fix invalid madvise() during concurrent alloc/dealloc of MemoryDealer 2011-12-15 04:37:22 +09:00
MemoryHeapBase.cpp
MemoryHeapPmem.cpp
Parcel.cpp Fix possible leak in Parcel::writeDupFileDescriptor. 2011-11-07 12:22:39 -08:00
PermissionCache.cpp
ProcessState.cpp Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGE 2011-10-26 09:57:54 +01:00
Static.cpp