diff options
author | Scott Lobdell <slobdell@google.com> | 2021-01-26 13:27:13 -0800 |
---|---|---|
committer | Scott Lobdell <slobdell@google.com> | 2021-01-26 23:56:48 -0800 |
commit | e85435d4d9a2f7122bd5c97ad0a25c768d124a0e (patch) | |
tree | 9b769146d5107f796ef2e6099bab631a7d5b2b1a /cmds/app_process | |
parent | e92fb723c77ee0204a1ffa431ec23d2416952171 (diff) | |
parent | e1acccdfba2d67c675fb6d915345d0aaa089d75c (diff) |
Merge SP1A.210122.003
Bug: 178561525
Change-Id: Ifb7c4a1c94e1f4cab710826d57282b981a46e990
Diffstat (limited to 'cmds/app_process')
-rw-r--r-- | cmds/app_process/Android.bp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cmds/app_process/Android.bp b/cmds/app_process/Android.bp index c1f9b6aea2ed..ba3eea70838c 100644 --- a/cmds/app_process/Android.bp +++ b/cmds/app_process/Android.bp @@ -63,4 +63,13 @@ cc_binary { // Create a symlink from app_process to app_process32 or 64 // depending on the target configuration. symlink_preferred_arch: true, + + // Enable ASYNC MTE in the zygote, in order to allow apps and the system + // server to use MTE. We use ASYNC because we don't expect the pre-fork + // zygote to have substantial memory corruption bugs (as it's primarily Java + // code), and we don't want to waste memory recording malloc/free stack + // traces (which happens in SYNC mode). + sanitize: { + memtag_heap: true, + }, } |