summaryrefslogtreecommitdiff
path: root/mtectrl
diff options
context:
space:
mode:
authorFlorian Mayer <fmayer@google.com>2023-09-28 08:08:48 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-09-28 08:08:48 +0000
commit5e5966c57d88d635c656ccba97a98bf8254a4eb1 (patch)
tree72f6d5a4a3c034a0c37c9c6ffb7ca2ab7744197a /mtectrl
parent6575b35a928df168363e0474a9026bc6533865c6 (diff)
parentfbacc176962ad164adbd7611969c01e58d53bb35 (diff)
downloadextras-5e5966c57d88d635c656ccba97a98bf8254a4eb1.tar.gz
Merge "Run mtectrl later in boot sequence" into main am: fd6ea7e04e am: c1049f19e1 am: fbacc17696
Original change: https://android-review.googlesource.com/c/platform/system/extras/+/2765456 Change-Id: I402b4a713a3f7a0972c13f3cf34766ca260e49d5 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'mtectrl')
-rw-r--r--mtectrl/mtectrl.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/mtectrl/mtectrl.rc b/mtectrl/mtectrl.rc
index 38c58f7a..e5e0fe07 100644
--- a/mtectrl/mtectrl.rc
+++ b/mtectrl/mtectrl.rc
@@ -22,7 +22,7 @@ on property:persist.device_config.runtime_native_boot.bootloader_override=*
# adbd gets initialized in init, so run before that. this makes sure that the
# user does not change the value before we initialize it
-on early-init && property:ro.arm64.memtag.bootctl_supported=1
+on early-boot && property:ro.arm64.memtag.bootctl_supported=1
exec_background -- /system/bin/mtectrl -s arm64.memtag.bootctl -f arm64.memtag.bootctl_loaded
on shutdown && property:ro.arm64.memtag.bootctl_supported=1