xref: /aosp_15_r20/external/cronet/third_party/ashmem/README.chromium (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1Name: Android
2URL: http://source.android.com
3Description: Android shared memory implementation. Only applies to OS_ANDROID.
4Version: 7203eb2a8a29a7b721a48cd291700f38f3da1456
5Security Critical: yes
6Shipped: yes
7License: Apache 2.0
8License File: LICENSE
9Patches:
10  0001-Add-ashmem-get-prot-region.path:
11     Add ashmem_get_prot_region() declaration and implementation to return
12     the current protection mask of a given Ashmem region.
13  0002-Use-AShareMemory-functions-when-possible.patch:
14     Use ASharedMemory_xxx() functions from libandroid.so when possible
15     in order to prepare for future devices without ashmem support.
16  0003-Pthread-once-for-funcs-init.patch:
17     Fix the data race that was introduced in the previous patch by using
18     pthread_once() for function pointers initialization.
19  0004-Fixup-ashmem_get_prot_region-for-memfd.patch:
20     mmap with MAP_PRIVATE is meant to succeed even on write-protected
21     memfd's as it will just copy-on-write.
22