vendor/cm: Fix up service contexts for sepolicy.

Change-Id: Ibb04e967bd027c6d1118b8b471ec328c3b034d9d
This commit is contained in:
Adnan Begovic 2015-10-15 13:09:00 -07:00 committed by Abhisek Devkota
parent 07beb8f161
commit c3d3969971
3 changed files with 20 additions and 12 deletions

View file

@ -23,7 +23,6 @@
/sys/block/mmcblk.*/queue/scheduler -- u:object_r:sysfs_devices_system_iosched:s0
/data/hostapd(/.*)? u:object_r:wifi_data_file:s0
/data/misc/radio(/.*)? u:object_r:radio_data_file:s0
#############
# Superuser's control sockets

10
sepolicy/service.te Normal file
View file

@ -0,0 +1,10 @@
type edge_gesture_service, system_api_service, system_server_service, service_manager_type;
type themes_service, system_api_service, system_server_service, service_manager_type;
type torch_service, system_api_service, system_server_service, service_manager_type;
type kill_switch_service, system_api_service, system_server_service, service_manager_type;
type cm_status_bar_service, system_api_service, system_server_service, service_manager_type;
type cm_profile_service, system_api_service, system_server_service, service_manager_type;
type cm_partner_interface, system_api_service, system_server_service, service_manager_type;
type cm_telephony_service, system_api_service, system_server_service, service_manager_type;
type cm_hardware_service, system_api_service, system_server_service, service_manager_type;
type cm_app_suggest_service, system_api_service, system_server_service, service_manager_type;

View file

@ -1,11 +1,10 @@
cmhw u:object_r:system_server_service:s0
edgegestureservice u:object_r:system_server_service:s0
themes u:object_r:system_server_service:s0
torch u:object_r:system_server_service:s0
killswitch u:object_r:system_server_service:s0
cmstatusbar u:object_r:system_server_service:s0
profile u:object_r:system_server_service:s0
cmpartnerinterface u:object_r:system_server_service:s0
cmtelephonymanager u:object_r:system_server_service:s0
cmhardware u:object_r:system_server_service:s0
cmappsuggest u:object_r:system_server_service:s0
edgegestureservice u:object_r:edge_gesture_service:s0
themes u:object_r:themes_service:s0
torch u:object_r:torch_service:s0
killswitch u:object_r:kill_switch_service:s0
cmstatusbar u:object_r:cm_status_bar_service:s0
profile u:object_r:cm_profile_service:s0
cmpartnerinterface u:object_r:cm_partner_interface:s0
cmtelephonymanager u:object_r:cm_telephony_service:s0
cmhardware u:object_r:cm_hardware_service:s0
cmappsuggest u:object_r:cm_app_suggest_service:s0