chromium/third_party/ashmem/README.chromium

Name: Android
URL: http://source.android.com
Description: Android shared memory implementation. Only applies to OS_ANDROID.
Version: 7203eb2a8a29a7b721a48cd291700f38f3da1456
Security Critical: yes
Shipped: yes
License: Apache 2.0
License File: LICENSE
Patches:
  0001-Add-ashmem-get-prot-region.path:
     Add ashmem_get_prot_region() declaration and implementation to return
     the current protection mask of a given Ashmem region.
  0002-Use-AShareMemory-functions-when-possible.patch:
     Use ASharedMemory_xxx() functions from libandroid.so when possible
     in order to prepare for future devices without ashmem support.
  0003-Pthread-once-for-funcs-init.patch:
     Fix the data race that was introduced in the previous patch by using
     pthread_once() for function pointers initialization.
  0004-Fixup-ashmem_get_prot_region-for-memfd.patch:
     mmap with MAP_PRIVATE is meant to succeed even on write-protected
     memfd's as it will just copy-on-write.