Skip to content

Commit

Permalink
lineage sepolicy: add lineage-sdk services
Browse files Browse the repository at this point in the history
Change-Id: I81d0ac1769a63d665140f92fc88a2e8228e0605a
  • Loading branch information
sam3000 committed Oct 11, 2017
1 parent 8ddb8f7 commit dbf3187
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
8 changes: 8 additions & 0 deletions common/service.te
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
type lineage_audio_service, system_api_service, system_server_service, service_manager_type;
type lineage_hardware_service, system_api_service, system_server_service, service_manager_type;
type lineage_livedisplay_service, system_api_service, system_server_service, service_manager_type;
type lineage_performance_service, system_api_service, system_server_service, service_manager_type;
type lineage_profile_service, system_api_service, system_server_service, service_manager_type;
type lineage_status_bar_service, system_api_service, system_server_service, service_manager_type;
type lineage_telephony_service, system_api_service, system_server_service, service_manager_type;
type lineage_weather_service, system_api_service, system_server_service, service_manager_type;
8 changes: 8 additions & 0 deletions common/service_contexts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
lineageaudio u:object_r:lineage_audio_service:s0
lineagehardware u:object_r:lineage_hardware_service:s0
lineagelivedisplay u:object_r:lineage_livedisplay_service:s0
lineageperformance u:object_r:lineage_performance_service:s0
lineagestatusbar u:object_r:lineage_status_bar_service:s0
lineagetelephonymanager u:object_r:lineage_telephony_service:s0
lineageweather u:object_r:lineage_weather_service:s0
profile u:object_r:lineage_profile_service:s0
3 changes: 3 additions & 0 deletions common/untrusted_app.te
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
allow untrusted_app lineage_weather_service:service_manager find;
allow untrusted_app lineage_status_bar_service:service_manager find;
allow untrusted_app lineage_profile_service:service_manager find;

0 comments on commit dbf3187

Please sign in to comment.