universal7580: sepolicy: remove unused sensorhubservice policies
authorDanny Wood <danwood76@gmail.com>
Tue, 26 Nov 2019 10:39:59 +0000 (10:39 +0000)
committerDanny Wood <danwood76@gmail.com>
Tue, 10 Mar 2020 15:25:56 +0000 (15:25 +0000)
Change-Id: Ia7c8e51297124ca1e851f3914b44ab492c64ff86

sepolicy/file_contexts
sepolicy/sensorhubservice.te [deleted file]
sepolicy/service_contexts

index d18ec30c87f12ea5d7f11d99f02ce4223bed716a..9a07aefcf0b343dfb6c67e36acde3c9e701db547 100644 (file)
 
 /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 (file)
index 5ec1aea..0000000
+++ /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 };
index 79593e86b8e3d843850bfafb0ad06574e772b626..566bde9b0d6c7aaf95dbe854ea0b0b1f022774c2 100644 (file)
@@ -1,3 +1,2 @@
 # HWC
 Exynos.HWCService                           u:object_r:surfaceflinger_service:s0
-sensorhubservice                            u:object_r:sensorhubservice_service:s0