Allow microdroid_manager to stop tombstoned
If export_tombstones is false, leaving tombstoned running has no meaning. However, we still can't selectively start tombstoned, because post-fs-data happens eariler than config parsing. Thus, this change allows microdroid_manager to stop tombstoned on demand. Bug: 236588647 Test: atest MicrodroidTests Change-Id: I813fe667f3394bdd234e204f3d35a27f3a182cb2
This commit is contained in:
parent
889d8aa9a7
commit
fa4c5bff42
3 changed files with 7 additions and 0 deletions
|
@ -66,6 +66,9 @@ set_prop(microdroid_manager, ctl_seriallogging_prop)
|
|||
set_prop(microdroid_manager, ctl_tombstone_transmit_prop)
|
||||
set_prop(microdroid_manager, ctl_zipfuse_prop)
|
||||
|
||||
# Allow microdroid_manager to stop tombstoned
|
||||
set_prop(microdroid_manager, ctl_tombstoned_prop)
|
||||
|
||||
# Allow microdroid_manager to wait for linkerconfig to be ready
|
||||
get_prop(microdroid_manager, apex_config_prop)
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
system_internal_prop(ctl_tombstoned_prop)
|
||||
|
||||
system_restricted_prop(boot_status_prop)
|
||||
|
||||
# Declare ART properties for CompOS
|
||||
|
|
|
@ -23,6 +23,8 @@ ctl.restart$adbd u:object_r:ctl_adbd_prop:s0
|
|||
|
||||
ctl.stop$apexd u:object_r:ctl_apexd_prop:s0
|
||||
|
||||
ctl.stop$tombstoned u:object_r:ctl_tombstoned_prop:s0
|
||||
|
||||
ctl.start$apexd-vm u:object_r:ctl_apexd_vm_prop:s0
|
||||
ctl.start$apkdmverity u:object_r:ctl_apkdmverity_prop:s0
|
||||
ctl.start$seriallogging u:object_r:ctl_seriallogging_prop:s0
|
||||
|
|
Loading…
Reference in a new issue