Set arm64.memtag.bootctl_supported on non-fullmte products.

This will enable the "Reboot with MTE" developer options button as
described in
https://source.android.com/docs/security/memory-safety/bootloader-support

Bug: 242244112
Test: * all _fullmte products define arm64.memtag.bootctl_supported.
      * other products do not define arm64.memtag.bootctl_supported.
      * non-fullmte products support "Reboot with MTE" flow as per the
        link above.
Change-Id: Ic0e301755fb6745be55b2fb502b530495bef4ca0
This commit is contained in:
Evgenii Stepanov 2022-08-29 16:26:57 -07:00
parent 26f4504f16
commit 705c2f2a6e

View file

@ -42,3 +42,10 @@ PRODUCT_PRODUCT_PROPERTIES += \
# ZramWriteback
-include hardware/google/pixel/mm/device_gki.mk
# Indicate that the bootloader supports the MTE developer option switch
# (MISC_MEMTAG_MODE_MEMTAG_ONCE), with the exception of _fullmte products that
# force enable MTE.
ifeq (,$(filter %_fullmte,$(TARGET_PRODUCT)))
PRODUCT_PRODUCT_PROPERTIES += ro.arm64.memtag.bootctl_supported=1
endif