Merge "[MTE] Enable ASYNC MTE in the Zygote." am: b3f5d59011 am: 721e9ef1a1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1548868 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: If46d61229e06f6125604e8987a0a50a065087b61
This commit is contained in:
@@ -62,4 +62,13 @@ cc_binary {
|
|||||||
// Create a symlink from app_process to app_process32 or 64
|
// Create a symlink from app_process to app_process32 or 64
|
||||||
// depending on the target configuration.
|
// depending on the target configuration.
|
||||||
symlink_preferred_arch: true,
|
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,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user