Add selinux policy for new SensorPrivacyService

Test: manually verified SensorPrivacyService is accessible
Bug: 110842805
Change-Id: Idd215f338f2da0dab4898ea06fa08d9b4a1bcb5f
This commit is contained in:
Michael Groover 2018-12-04 22:38:01 -08:00
parent 792ec60ca3
commit 0ac3dea71b
3 changed files with 3 additions and 0 deletions

View file

@ -66,6 +66,7 @@
recovery_socket
role_service
runtime_service
sensor_privacy_service
super_block_device
system_lmk_prop
system_suspend_hwservice

View file

@ -153,6 +153,7 @@ search u:object_r:search_service:s0
secure_element u:object_r:secure_element_service:s0
sec_key_att_app_id_provider u:object_r:sec_key_att_app_id_provider_service:s0
sensorservice u:object_r:sensorservice_service:s0
sensor_privacy u:object_r:sensor_privacy_service:s0
serial u:object_r:serial_service:s0
servicediscovery u:object_r:servicediscovery_service:s0
settings u:object_r:settings_service:s0

View file

@ -141,6 +141,7 @@ type scheduling_policy_service, system_server_service, service_manager_type;
type search_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
type sec_key_att_app_id_provider_service, app_api_service, system_server_service, service_manager_type;
type sensorservice_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
type sensor_privacy_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
type serial_service, system_api_service, system_server_service, service_manager_type;
type servicediscovery_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
type settings_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;