Allow Trusty storageproxy property
Allows the Trusty storageproxyd to set ro.vendor.trusty.storage.fs_ready when the data filesystems are ready for use, and allows vendor init to query and wait on this property. Test: build, flash, test app loading Bug: 258018785 Change-Id: I0b4f80371385bf0ddb0c44e81b1893bb80c7a63d Merged-In: I0b4f80371385bf0ddb0c44e81b1893bb80c7a63d
This commit is contained in:
parent
a2e6c51431
commit
5cd114d3a0
4 changed files with 11 additions and 0 deletions
|
@ -40,3 +40,6 @@ vendor_internal_prop(vendor_telephony_app_prop)
|
||||||
# Battery Mitigation
|
# Battery Mitigation
|
||||||
vendor_internal_prop(vendor_mitigation_ready_prop)
|
vendor_internal_prop(vendor_mitigation_ready_prop)
|
||||||
vendor_public_prop(vendor_brownout_reason_prop)
|
vendor_public_prop(vendor_brownout_reason_prop)
|
||||||
|
|
||||||
|
# Trusty storage FS ready
|
||||||
|
vendor_internal_prop(vendor_trusty_storage_prop)
|
||||||
|
|
|
@ -110,3 +110,6 @@ vendor.config.debug. u:object_r:vendor_telephony_app_prop:
|
||||||
# Battery Mitigation
|
# Battery Mitigation
|
||||||
vendor.brownout.mitigation.ready u:object_r:vendor_mitigation_ready_prop:s0
|
vendor.brownout.mitigation.ready u:object_r:vendor_mitigation_ready_prop:s0
|
||||||
vendor.brownout_reason u:object_r:vendor_brownout_reason_prop:s0
|
vendor.brownout_reason u:object_r:vendor_brownout_reason_prop:s0
|
||||||
|
|
||||||
|
# Trusty
|
||||||
|
ro.vendor.trusty.storage.fs_ready u:object_r:vendor_trusty_storage_prop:s0
|
||||||
|
|
|
@ -15,3 +15,5 @@ read_fstab(tee)
|
||||||
# storageproxyd starts before /data is mounted. It handles /data not being there
|
# storageproxyd starts before /data is mounted. It handles /data not being there
|
||||||
# gracefully. However, attempts to access /data trigger a denial.
|
# gracefully. However, attempts to access /data trigger a denial.
|
||||||
dontaudit tee unlabeled:dir { search };
|
dontaudit tee unlabeled:dir { search };
|
||||||
|
|
||||||
|
set_prop(tee, vendor_trusty_storage_prop)
|
||||||
|
|
|
@ -41,3 +41,6 @@ set_prop(vendor_init, vendor_brownout_reason_prop)
|
||||||
|
|
||||||
# MM
|
# MM
|
||||||
allow vendor_init proc_watermark_scale_factor:file w_file_perms;
|
allow vendor_init proc_watermark_scale_factor:file w_file_perms;
|
||||||
|
|
||||||
|
# Trusty storage FS ready
|
||||||
|
get_prop(vendor_init, vendor_trusty_storage_prop)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue