From 2b4c4f39416ee148b34dc148b01351fb07e72adb Mon Sep 17 00:00:00 2001 From: Riley Spahn Date: Thu, 26 Jun 2014 12:36:43 -0700 Subject: [PATCH] Add missing services to service_contexts. Add missing services related to battery, bluetooth, time, and radio to service_contexts. Change-Id: I8bf05feb173d49637048c779757013806837fede --- service.te | 1 + service_contexts | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/service.te b/service.te index 650ac139e..c085c79a6 100644 --- a/service.te +++ b/service.te @@ -1,3 +1,4 @@ +type bluetooth_service, service_manager_type; type default_android_service, service_manager_type; type drmserver_service, service_manager_type; type healthd_service, service_manager_type; diff --git a/service_contexts b/service_contexts index b14aa1cbe..540725ebc 100644 --- a/service_contexts +++ b/service_contexts @@ -9,12 +9,16 @@ assetatlas u:object_r:system_server_service:s0 audio u:object_r:system_server_service:s0 backup u:object_r:system_server_service:s0 batteryproperties u:object_r:healthd_service:s0 +batterypropreg u:object_r:healthd_service:s0 batterystats u:object_r:system_server_service:s0 battery u:object_r:system_server_service:s0 bluetooth_manager u:object_r:system_server_service:s0 +bluetooth u:object_r:bluetooth_service:s0 clipboard u:object_r:system_server_service:s0 com.android.internal.telephony.mms.IMms u:object_r:system_server_service:s0 commontime_management u:object_r:system_server_service:s0 +common_time.clock u:object_r:mediaserver_service:s0 +common_time.config u:object_r:mediaserver_service:s0 connectivity u:object_r:system_server_service:s0 consumer_ir u:object_r:system_server_service:s0 content u:object_r:system_server_service:s0 @@ -68,6 +72,9 @@ phone u:object_r:radio_service:s0 power u:object_r:system_server_service:s0 print u:object_r:system_server_service:s0 procstats u:object_r:system_server_service:s0 +radio.phonesubinfo u:object_r:radio_service:s0 +radio.phone u:object_r:radio_service:s0 +radio.sms u:object_r:radio_service:s0 restrictions u:object_r:system_server_service:s0 samplingprofiler u:object_r:system_server_service:s0 scheduling_policy u:object_r:system_server_service:s0