summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Mitch Phillips <mitchp@google.com> 2023-01-26 14:06:05 -0800
committer Mitch Phillips <mitchp@google.com> 2023-01-26 15:23:19 -0800
commit11bfbf075c83972a8544c08889544678049aa539 (patch)
treeb2dc5f60d9b1f551cff555f887c17fcc7604e534 /libs/androidfw/ObbFile.cpp
parent486bbbd398cce9c8f7420f34a0eb587e5246aa0d (diff)
Add explicit handling for an unspecified gwpAsanMode manifest flag.
In future, we'd like to change the default for an unspecified gwpAsanMode flag. Currently, this implies mallopt(M_INITIALIZE_GWP_ASAN, { .desire = DONT_TURN_ON_UNLESS_OVERRIDDEN }) for non-system apps and { .desire = TURN_ON_WITH_SAMPLING } for system apps. But, as noted in the TODO, we'd like to change this behaviour. Thus, we need to plumb through the fact that the manifest flag was left unspecified. Bug: 247012630 Test: Add some logging code to libc's android_mallopt, install an app with an unspecified gwpAsanMode, and make sure that log line is hit. Change-Id: I45b064c89ceeace0014a19ba1d9e8ac0a2157328
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions