aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/mtk_agpsd.te
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy/mtk_agpsd.te')
-rw-r--r--sepolicy/mtk_agpsd.te39
1 files changed, 39 insertions, 0 deletions
diff --git a/sepolicy/mtk_agpsd.te b/sepolicy/mtk_agpsd.te
new file mode 100644
index 0000000..be84baf
--- /dev/null
+++ b/sepolicy/mtk_agpsd.te
@@ -0,0 +1,39 @@
+# ==============================================
+# Policy File of /system/binmtk_agpsd Executable File
+
+
+# ==============================================
+# Type Declaration
+# ==============================================
+
+type mtk_agpsd_exec , exec_type, file_type;
+type mtk_agpsd ,domain;
+
+# ==============================================
+# Android Policy Rule
+# ==============================================
+
+# ==============================================
+# NSA Policy Rule
+# ==============================================
+
+# ==============================================
+# MTK Policy Rule
+# ==============================================
+
+init_daemon_domain(mtk_agpsd)
+
+# Date : WK14.31
+# Operation : Migration
+# Purpose : for L bring-up
+net_domain(mtk_agpsd)
+allow mtk_agpsd mnld:unix_dgram_socket sendto;
+allow mtk_agpsd agps_device:chr_file rw_file_perms;
+allow mtk_agpsd agpsd_data_file:dir create_dir_perms;
+allow mtk_agpsd agpsd_data_file:file create_file_perms;
+allow mtk_agpsd agpsd_data_file:sock_file create_file_perms;
+allow mtk_agpsd fuse:dir create_dir_perms;
+allow mtk_agpsd fuse:file create_file_perms;
+allow mtk_agpsd ttySDIO_device:chr_file create_file_perms;
+allow mtk_agpsd eemcs_device:chr_file rw_file_perms;
+allow mtk_agpsd tmpfs:lnk_file create_file_perms; \ No newline at end of file