diff options
-rw-r--r-- | common/service.te | 8 | ||||
-rw-r--r-- | common/service_contexts | 8 | ||||
-rw-r--r-- | common/untrusted_app.te | 3 |
3 files changed, 19 insertions, 0 deletions
diff --git a/common/service.te b/common/service.te new file mode 100644 index 0000000..9093f2e --- /dev/null +++ b/common/service.te @@ -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; diff --git a/common/service_contexts b/common/service_contexts new file mode 100644 index 0000000..b7f5b57 --- /dev/null +++ b/common/service_contexts @@ -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 diff --git a/common/untrusted_app.te b/common/untrusted_app.te new file mode 100644 index 0000000..e839a6f --- /dev/null +++ b/common/untrusted_app.te @@ -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; |