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: m raven-userdebug, flash, test app loading Bug: 258018785 Change-Id: If995d35be490fbca6c99ef9f73f2842f5c488bd4 Merged-In: If995d35be490fbca6c99ef9f73f2842f5c488bd4
This commit is contained in:
parent
33f38db80f
commit
502c76f22b
4 changed files with 11 additions and 0 deletions
3
whitechapel/vendor/google/property.te
vendored
3
whitechapel/vendor/google/property.te
vendored
|
@ -55,3 +55,6 @@ vendor_internal_prop(vendor_dynamic_sensor_prop)
|
||||||
|
|
||||||
# UWB calibration
|
# UWB calibration
|
||||||
system_vendor_config_prop(vendor_uwb_calibration_prop)
|
system_vendor_config_prop(vendor_uwb_calibration_prop)
|
||||||
|
|
||||||
|
# Trusty storage FS ready
|
||||||
|
vendor_internal_prop(vendor_trusty_storage_prop)
|
||||||
|
|
3
whitechapel/vendor/google/property_contexts
vendored
3
whitechapel/vendor/google/property_contexts
vendored
|
@ -117,3 +117,6 @@ vendor.dynamic_sensor. u:object_r:vendor_dynamic_sensor
|
||||||
|
|
||||||
# uwb
|
# uwb
|
||||||
ro.vendor.uwb.calibration. u:object_r:vendor_uwb_calibration_prop:s0 exact string
|
ro.vendor.uwb.calibration. u:object_r:vendor_uwb_calibration_prop:s0 exact string
|
||||||
|
|
||||||
|
# Trusty
|
||||||
|
ro.vendor.trusty.storage.fs_ready u:object_r:vendor_trusty_storage_prop:s0
|
||||||
|
|
2
whitechapel/vendor/google/storageproxyd.te
vendored
2
whitechapel/vendor/google/storageproxyd.te
vendored
|
@ -19,3 +19,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)
|
||||||
|
|
3
whitechapel/vendor/google/vendor_init.te
vendored
3
whitechapel/vendor/google/vendor_init.te
vendored
|
@ -38,3 +38,6 @@ set_prop(vendor_init, vendor_fingerprint_prop)
|
||||||
|
|
||||||
# Display
|
# Display
|
||||||
set_prop(vendor_init, vendor_display_prop)
|
set_prop(vendor_init, vendor_display_prop)
|
||||||
|
|
||||||
|
# Trusty storage FS ready
|
||||||
|
get_prop(vendor_init, vendor_trusty_storage_prop)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue