diff --git a/private/property_contexts b/private/property_contexts index 78455050c99d5f63217307993d0b79ae8b533364..c205e594cfb28f7f27567da5cbf5d3b67682ad39 100644 --- a/private/property_contexts +++ b/private/property_contexts @@ -84,6 +84,8 @@ ro.crypto. u:object_r:vold_prop:s0 # set at runtime by system_server. ro.build.fingerprint u:object_r:fingerprint_prop:s0 +ro.persistent_properties.ready u:object_r:persistent_properties_ready_prop:s0 + # ctl properties ctl.bootanim u:object_r:ctl_bootanim_prop:s0 ctl.dumpstate u:object_r:ctl_dumpstate_prop:s0 diff --git a/public/property.te b/public/property.te index 5bf0c62351b88037d856230678f357ee597d0dfb..a3f5a1e4393045aa7525bb4a1c776844b8f69e07 100644 --- a/public/property.te +++ b/public/property.te @@ -34,6 +34,7 @@ type nfc_prop, property_type, core_property_type; type overlay_prop, property_type; type pan_result_prop, property_type, core_property_type; type persist_debug_prop, property_type, core_property_type; +type persistent_properties_ready_prop, property_type; type powerctl_prop, property_type, core_property_type; type radio_prop, property_type, core_property_type; type restorecon_prop, property_type, core_property_type; diff --git a/public/te_macros b/public/te_macros index 70e489a50b580a424401f3396d9388c2c98561d5..d6bdf61dcc0c7206a6ae3f25577f9616652b7181 100644 --- a/public/te_macros +++ b/public/te_macros @@ -291,7 +291,7 @@ allow hwservicemanager $1:process getattr; # stability). getService must also check for data to be mounted # if the vintf promises the hal will be registered over hwbinder. get_prop($1, hal_binderization_prop) -get_prop($1, boottime_prop) +get_prop($1, persistent_properties_ready_prop) get_prop($1, vold_prop) # rw access to /dev/hwbinder and /dev/ashmem is presently granted to # all domains in domain.te.