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 PermissionCache caches permission checks 2011-06-27 17:42:15 -07:00
Binder.cpp Make static versions of libutils and libbinder. 2010-05-06 01:03:31 -07:00
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 some work to try to reduce the code size of some native libraries 2009-05-26 16:12:20 -07:00
IMemory.cpp MemoryHeapBase: Save and binderize the offset 2011-06-27 13:48:51 -07:00
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 Add Parcel::readExceptionCode() and Parcel::writeNoException() 2010-07-13 15:45:18 -07:00
IServiceManager.cpp Add Parcel::readExceptionCode() and Parcel::writeNoException() 2010-07-13 15:45:18 -07:00
MemoryBase.cpp move libbinder's header files under includes/binder 2009-05-20 12:55:03 -07:00
MemoryDealer.cpp Fix invalid madvise() during concurrent alloc/dealloc of MemoryDealer 2011-12-15 04:37:22 +09:00
MemoryHeapBase.cpp MemoryHeapBase: Save and binderize the offset 2011-06-27 13:48:51 -07:00
MemoryHeapPmem.cpp Clean up use of HAVE_ANDROID_OS 2011-02-16 10:56:32 -08:00
Parcel.cpp Fix possible leak in Parcel::writeDupFileDescriptor. 2011-11-07 12:22:39 -08:00
PermissionCache.cpp PermissionCache caches permission checks 2011-06-27 17:42:15 -07:00
ProcessState.cpp Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGE 2011-10-26 09:57:54 +01:00
Static.cpp move libbinder's header files under includes/binder 2009-05-20 12:55:03 -07:00