We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c88f715 commit 2052b3dCopy full SHA for 2052b3d
mtectrl/mtectrl.rc
@@ -25,7 +25,7 @@ on property:persist.device_config.runtime_native_boot.bootloader_override=* && p
25
on early-boot && property:ro.arm64.memtag.bootctl_supported=1
26
exec_background -- /system/bin/mtectrl -s arm64.memtag.bootctl -f arm64.memtag.bootctl_loaded
27
28
-on shutdown && property:ro.arm64.memtag.bootctl_supported=1
+on shutdown && property:ro.arm64.memtag.bootctl_supported=1 && property:arm64.memtag.bootctl_loaded=*
29
# This doesn't use wait_for_prop to not stall the shutdown.
30
exec -- /system/bin/mtectrl ${arm64.memtag.bootctl:-none} ${persist.device_config.runtime_native_boot.bootloader_override:-default}
31
0 commit comments