summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorEvgenii Stepanov <eugenis@google.com>2021-12-03 17:06:46 -0800
committerEvgenii Stepanov <eugenis@google.com>2021-12-10 19:02:55 +0000
commit980f233d2d53512457583df7511e65a2a63269dd (patch)
tree1f4cf64506aae2fb6958d837b8761af8a62b5797 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent3a1a4dbf898666c0a4195581b138b6a070c44132 (diff)
Pass MTE RuntimeFlags to AppZygote.
Fix AppZygote process and its children (the actual service processes) ignoring android:memtagMode attribute in the app manifest. When starting a new AppZygote process, apply memtag-related flags as determined by the app manifest (and modified by compat features and actual h/w capabilities). If this is not done, MTE is always disabled in an AppZygote process, which makes it impossible to enable it in the AppZygote's children. This change has no effect unless MTE is supported in the hardware (ARMv9) and enabled in the system. Bug: 207557677 Test: CtsTaggingHostTestCases Merged-In: Ibf64db8882a1fbffe6c0cc3cd3bc2299b088876a Change-Id: Ibf64db8882a1fbffe6c0cc3cd3bc2299b088876a (cherry picked from commit 2e50afbd53c686a7cb82c73e926ab34d7dd9257d)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions