From cad0263fc27b7a61ff421c21efc8aa3971c69101 Mon Sep 17 00:00:00 2001 From: Danny Wood Date: Tue, 26 Nov 2019 10:39:59 +0000 Subject: [PATCH] universal7580: sepolicy: remove unused sensorhubservice policies Change-Id: Ia7c8e51297124ca1e851f3914b44ab492c64ff86 --- sepolicy/file_contexts | 1 - sepolicy/sensorhubservice.te | 14 -------------- sepolicy/service_contexts | 1 - 3 files changed, 16 deletions(-) delete mode 100644 sepolicy/sensorhubservice.te diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index d18ec30..9a07aef 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -155,7 +155,6 @@ /system/bin/mcDriverDaemon u:object_r:tee_exec:s0 /system/bin/modemloader u:object_r:modemloader_exec:s0 -/system/bin/sensorhubservice u:object_r:sensorhubservice_exec:s0 /system/bin/wifiloader u:object_r:wifiloader_exec:s0 /system/bin/cbd u:object_r:cpboot-daemon_exec:s0 diff --git a/sepolicy/sensorhubservice.te b/sepolicy/sensorhubservice.te deleted file mode 100644 index 5ec1aea..0000000 --- a/sepolicy/sensorhubservice.te +++ /dev/null @@ -1,14 +0,0 @@ -#### sensorhubservice -# -type sensorhubservice, domain; -type sensorhubservice_exec, exec_type, file_type; -type sensorhubservice_service, app_api_service, system_server_service, service_manager_type; - -init_daemon_domain(sensorhubservice) - -# /dev/input[0-9]* -allow sensorhubservice input_device:dir r_dir_perms; -allow sensorhubservice { input_device sensor_device }:chr_file rw_file_perms; - -# binder call -allow sensorhubservice servicemanager:binder { call transfer }; diff --git a/sepolicy/service_contexts b/sepolicy/service_contexts index 79593e8..566bde9 100644 --- a/sepolicy/service_contexts +++ b/sepolicy/service_contexts @@ -1,3 +1,2 @@ # HWC Exynos.HWCService u:object_r:surfaceflinger_service:s0 -sensorhubservice u:object_r:sensorhubservice_service:s0 -- 2.20.1