diff options
author | nx111 <gd.zhangdz@gmail.com> | 2018-10-03 16:58:19 +0800 |
---|---|---|
committer | Han Wang <416810799@qq.com> | 2019-10-30 16:45:57 +0200 |
commit | 3ae72e5daf36a1b1ee75f7e217f7a0cfc9241645 (patch) | |
tree | b4a85a5056dd28b1281c281a25d99cc3f2ad9131 /libc/bionic/statvfs.cpp | |
parent | 89f8c2c26ba689089fecaaef757054d214fe8437 (diff) | |
download | android_bionic-3ae72e5daf36a1b1ee75f7e217f7a0cfc9241645.tar.gz android_bionic-3ae72e5daf36a1b1ee75f7e217f7a0cfc9241645.tar.bz2 android_bionic-3ae72e5daf36a1b1ee75f7e217f7a0cfc9241645.zip |
bionic: Squash of pre-P mutex behavior restoration
This is a squash of the following commits:
Author: Ethan Chen <intervigil@gmail.com>
Date: Tue Sep 25 00:11:05 2018 -0700
Actually restore pre-P mutex behavior
Apps built against versions < P may not actually expect the EBUSY return
code, and may crash or otherwise misbehave. Check for target SDK
versions earlier than P when performing the IsMutexDestroyed check so
any invocation of HandleUsingDestroyedMutex is bypassed and pre-P mutex
behavior is restored.
See 9e989f12d1186231d97dac6d038db7955acebdf3 for the change that
introduced this new behavior.
Change-Id: I45f8882c9527c63eed1ef5820a5004b8958d58ea
Author: nx111 <gd.zhangdz@gmail.com>
Date: Wed Oct 3 16:58:19 2018 +0800
bionic: Use legacy pthread_mutex_init() behavior on pre-P API levels
* Google's changes to pthread_mutex_init is breaking RIL
on certain Samsung devices like klte and hlte
* To resolve this, add a check for their new additions
to only apply the new behavior for P and higher APIs
Change-Id: I41335c5c436fa28a66d044e6634466556dfd7f95
Author: Han Wang <416810799@qq.com>
Date: Sat Sep 07 11:36:20 2019 +0200
Edit: Forward-port to Q:
s/bionic_get_application_target_sdk_version/android_get_application_target_sdk_version
Drop incorrect inline keyword for IsMutexDestroyed()
Change-Id: Ia3eed5cfe2e5d40fa8b49aa5b4c565fb9632b8ec
Diffstat (limited to 'libc/bionic/statvfs.cpp')
0 files changed, 0 insertions, 0 deletions