Skip to content
Snippets Groups Projects
Commit 1c50994e authored by Peng Xu's avatar Peng Xu
Browse files

Create SELinux label for contexhub_service

SELinux label is created for contexthub_service system service.

ContextHub service manages all available context hubs and serves fulfil communication between apps
and underlying context hub hardware.

Change-Id: I8470fedd9c79a00012e1cdb9b548a1b632ba7de6
parent 027ec206
No related branches found
No related tags found
No related merge requests found
...@@ -33,6 +33,7 @@ allow priv_app app_api_service:service_manager find; ...@@ -33,6 +33,7 @@ allow priv_app app_api_service:service_manager find;
allow priv_app system_api_service:service_manager find; allow priv_app system_api_service:service_manager find;
allow priv_app persistent_data_block_service:service_manager find; allow priv_app persistent_data_block_service:service_manager find;
allow priv_app recovery_service:service_manager find; allow priv_app recovery_service:service_manager find;
allow priv_app contexthub_service:service_manager find;
# Traverse into /mnt/media_rw for bypassing FUSE daemon # Traverse into /mnt/media_rw for bypassing FUSE daemon
# TODO: narrow this to just MediaProvider # TODO: narrow this to just MediaProvider
......
...@@ -34,6 +34,7 @@ type battery_service, system_server_service, service_manager_type; ...@@ -34,6 +34,7 @@ type battery_service, system_server_service, service_manager_type;
type bluetooth_manager_service, app_api_service, system_server_service, service_manager_type; type bluetooth_manager_service, app_api_service, system_server_service, service_manager_type;
type cameraproxy_service, system_server_service, service_manager_type; type cameraproxy_service, system_server_service, service_manager_type;
type clipboard_service, app_api_service, system_server_service, service_manager_type; type clipboard_service, app_api_service, system_server_service, service_manager_type;
type contexthub_service, system_server_service, service_manager_type;
type IProxyService_service, system_api_service, system_server_service, service_manager_type; type IProxyService_service, system_api_service, system_server_service, service_manager_type;
type commontime_management_service, system_server_service, service_manager_type; type commontime_management_service, system_server_service, service_manager_type;
type connectivity_service, app_api_service, system_server_service, service_manager_type; type connectivity_service, app_api_service, system_server_service, service_manager_type;
......
...@@ -24,6 +24,7 @@ common_time.config u:object_r:mediaserver_service:s0 ...@@ -24,6 +24,7 @@ common_time.config u:object_r:mediaserver_service:s0
connectivity u:object_r:connectivity_service:s0 connectivity u:object_r:connectivity_service:s0
consumer_ir u:object_r:consumer_ir_service:s0 consumer_ir u:object_r:consumer_ir_service:s0
content u:object_r:content_service:s0 content u:object_r:content_service:s0
contexthub_service u:object_r:contexthub_service:s0
country_detector u:object_r:country_detector_service:s0 country_detector u:object_r:country_detector_service:s0
cpuinfo u:object_r:cpuinfo_service:s0 cpuinfo u:object_r:cpuinfo_service:s0
dbinfo u:object_r:dbinfo_service:s0 dbinfo u:object_r:dbinfo_service:s0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment