summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mtectrl/mtectrl.rc3
1 files changed, 3 insertions, 0 deletions
diff --git a/mtectrl/mtectrl.rc b/mtectrl/mtectrl.rc
index 9a85d224..e5e0fe07 100644
--- a/mtectrl/mtectrl.rc
+++ b/mtectrl/mtectrl.rc
@@ -28,3 +28,6 @@ on early-boot && property:ro.arm64.memtag.bootctl_supported=1
on shutdown && property:ro.arm64.memtag.bootctl_supported=1
# This doesn't use wait_for_prop to not stall the shutdown.
exec -- /system/bin/mtectrl ${arm64.memtag.bootctl:-none} ${persist.device_config.runtime_native_boot.bootloader_override:-default}
+
+on property:persist.device_config.runtime_native_boot.bootloader_override=force_on
+ setprop persist.sys.mte.permissive 1