diff --git a/private/file_contexts b/private/file_contexts index a981714772c923888997615e0cdcb026ca725880..a870bb6e8c3b882425eca34a9cc9d1175e24f15c 100644 --- a/private/file_contexts +++ b/private/file_contexts @@ -373,7 +373,6 @@ /data/misc/recovery(/.*)? u:object_r:recovery_data_file:s0 /data/misc/shared_relro(/.*)? u:object_r:shared_relro_file:s0 /data/misc/sms(/.*)? u:object_r:radio_data_file:s0 -/data/misc/storaged(/.*)? u:object_r:storaged_data_file:s0 /data/misc/systemkeys(/.*)? u:object_r:systemkeys_data_file:s0 /data/misc/textclassifier(/.*)? u:object_r:textclassifier_data_file:s0 /data/misc/user(/.*)? u:object_r:misc_user_data_file:s0 @@ -393,6 +392,9 @@ /data/misc/profiles/ref(/.*)? u:object_r:user_profile_data_file:s0 /data/misc/profman(/.*)? u:object_r:profman_dump_data_file:s0 +# storaged proto files +/data/misc_ce/[0-9]+/storaged(/.*)? u:object_r:storaged_data_file:s0 + # Fingerprint data /data/system/users/[0-9]+/fpdata(/.*)? u:object_r:fingerprintd_data_file:s0 diff --git a/private/system_server.te b/private/system_server.te index 2478ee9334735450f159687ac01149db771f57ba..987d7057dc45c85c337b7cdf4840e84e7d7cce17 100644 --- a/private/system_server.te +++ b/private/system_server.te @@ -177,6 +177,7 @@ binder_call(system_server, gatekeeperd) binder_call(system_server, installd) binder_call(system_server, incidentd) binder_call(system_server, netd) +binder_call(system_server, storaged) binder_call(system_server, vold) binder_call(system_server, wificond) binder_call(system_server, wpantund) @@ -574,6 +575,7 @@ allow system_server mediadrmserver_service:service_manager find; allow system_server netd_service:service_manager find; allow system_server nfc_service:service_manager find; allow system_server radio_service:service_manager find; +allow system_server storaged_service:service_manager find; allow system_server surfaceflinger_service:service_manager find; allow system_server vold_service:service_manager find; allow system_server wificond_service:service_manager find;