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