aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/terservice.te
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy/terservice.te')
-rw-r--r--sepolicy/terservice.te42
1 files changed, 42 insertions, 0 deletions
diff --git a/sepolicy/terservice.te b/sepolicy/terservice.te
new file mode 100644
index 0000000..4c93863
--- /dev/null
+++ b/sepolicy/terservice.te
@@ -0,0 +1,42 @@
+# ==============================================
+# Policy File of /system/binterservice Executable File
+
+
+# ==============================================
+# Type Declaration
+# ==============================================
+
+type terservice_exec , exec_type, file_type;
+type terservice ,domain;
+
+# ==============================================
+# Android Policy Rule
+# ==============================================
+
+# ==============================================
+# NSA Policy Rule
+# ==============================================
+
+# ==============================================
+# MTK Policy Rule
+# ==============================================
+
+init_daemon_domain(terservice)
+
+# Date : 2014/09/18 (WK14.38)
+# Operation : Migration
+# Purpose : allow register terservice service in servicemanager.
+allow terservice terservice_service:service_manager add;
+
+# property service
+unix_socket_connect(terservice, property, init)
+allow terservice terservice_prop:property_service set;
+
+# ccci ioctl
+allow terservice ccci_device:chr_file { read write ioctl open };
+
+# ipc call
+binder_use(terservice)
+binder_service(terservice)
+
+