diff options
author | Yabin Cui <yabinc@google.com> | 2018-03-14 12:02:21 -0700 |
---|---|---|
committer | Yabin Cui <yabinc@google.com> | 2018-03-15 17:42:27 -0700 |
commit | 9e989f12d1186231d97dac6d038db7955acebdf3 (patch) | |
tree | 131acc8863703497f3f577c8e58966d18cf97ff8 /libc/malloc_hooks/malloc_hooks.cpp | |
parent | b85d0bd2b9d801028c9b0fcb9119df9d15bc27a2 (diff) |
Check using destroyed mutexes.
For apps built for Android < P, return EBUSY.
For apps built for Android >= P, abort.
This is to keep old apps work, and help debugging
apps built for >= P.
Bug: http://b/74632097
Test: run bionic-unit-tests.
Test: run bionic-benchmark.
Change-Id: I5271565a1a6ad12678f85d558a7f862a2b7aab4b
(cherry picked from commit 9651fdf93ae2c33fa38a6c5c5005b8596e716789)
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions