aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/pq.te
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy/pq.te')
-rw-r--r--sepolicy/pq.te40
1 files changed, 40 insertions, 0 deletions
diff --git a/sepolicy/pq.te b/sepolicy/pq.te
new file mode 100644
index 0000000..bc8ae7f
--- /dev/null
+++ b/sepolicy/pq.te
@@ -0,0 +1,40 @@
+# ==============================================
+# Policy File of /system/binpq Executable File
+
+
+# ==============================================
+# Type Declaration
+# ==============================================
+
+type pq_exec , exec_type, file_type;
+type pq ,domain;
+
+# ==============================================
+# Android Policy Rule
+# ==============================================
+
+# ==============================================
+# NSA Policy Rule
+# ==============================================
+
+# ==============================================
+# MTK Policy Rule
+# ==============================================
+
+#permissive pq;
+init_daemon_domain(pq)
+# unconfined_domain(pq)
+
+# Date : 2014/10/16
+# Operation : Migration
+# Purpose : for enforcing
+allow pq system_prop:property_service set;
+allow pq graphics_device:chr_file { read write open ioctl };
+
+
+# Date : 2014/10/29
+# Operation : Migration
+# Purpose : for enforcing
+allow pq init:unix_stream_socket connectto;
+allow pq property_socket:sock_file write;
+allow pq tmpfs:lnk_file read; \ No newline at end of file