diff options
author | Evgenii Stepanov <eugenis@google.com> | 2021-01-15 14:11:47 -0800 |
---|---|---|
committer | Evgenii Stepanov <eugenis@google.com> | 2021-02-25 23:38:33 +0000 |
commit | 15cce113f7232e117b091770c220ebc1b55f41d2 (patch) | |
tree | 04573488d956131135f487cd63d2d0b4ec4d2331 /core/proto/android | |
parent | 5c9ebe31abcb0ab531032caf610e5ccd247c7582 (diff) |
Implement memtagMode and nativeHeapZeroInit manifest attrs.
memtagMode allows an app to opt in to MTE in either sync or async mode.
nativeHeapZeroInit enables automatic initialization of heap memory.
Both attributes default to off and can be specified at either
application or process level.
Bug: 135772972
Bug: 177438394
Bug: 178038272
Test: CtsTaggingHostTestCases
Change-Id: I6a481a9d2363997bf954f248d08224c79f0c2afb
Merged-In: I6a481a9d2363997bf954f248d08224c79f0c2afb
Diffstat (limited to 'core/proto/android')
-rw-r--r-- | core/proto/android/content/package_item_info.proto | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/proto/android/content/package_item_info.proto b/core/proto/android/content/package_item_info.proto index e6833066f17e..bb39ea810add 100644 --- a/core/proto/android/content/package_item_info.proto +++ b/core/proto/android/content/package_item_info.proto @@ -110,6 +110,8 @@ message ApplicationInfoProto { optional int32 network_security_config_res = 17; optional int32 category = 18; optional int32 enable_gwp_asan = 19; + optional int32 enable_memtag = 20; + optional bool native_heap_zero_init = 21; } optional Detail detail = 17; } |