From 49fd191501efca44aea39376a61997912749ef97 Mon Sep 17 00:00:00 2001 From: Evgenii Stepanov Date: Thu, 25 Aug 2022 16:20:34 -0700 Subject: [PATCH] Add mtectrl to the base image. This is a tiny utility (11Kb) that implements the bootloader switch interface for MTE: https://source.android.com/docs/security/memory-safety/bootloader-support It is only useful on armv8.5+ devices, but there is no separate GSI image for those. Bug: 242244112 Test: ls /system/bin/mtectrl Change-Id: I2696a76d5828007a2db486f41064bcfc0e89ec36 --- target/product/base_system.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/target/product/base_system.mk b/target/product/base_system.mk index a0627b7cd5..3522eba2b5 100644 --- a/target/product/base_system.mk +++ b/target/product/base_system.mk @@ -221,6 +221,7 @@ PRODUCT_PACKAGES += \ mke2fs \ mkfs.erofs \ monkey \ + mtectrl \ mtpd \ ndc \ netd \