aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/br_app_data_service.te
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy/br_app_data_service.te')
-rw-r--r--sepolicy/br_app_data_service.te19
1 files changed, 19 insertions, 0 deletions
diff --git a/sepolicy/br_app_data_service.te b/sepolicy/br_app_data_service.te
new file mode 100644
index 0000000..44f621f
--- /dev/null
+++ b/sepolicy/br_app_data_service.te
@@ -0,0 +1,19 @@
+# ==============================================
+# Policy File of /system/br_app_data_service Executable File
+
+# ==============================================
+# Type Declaration
+# ==============================================
+type br_app_data_service_exec , exec_type, file_type;
+type br_app_data_service ,domain;
+
+# ==============================================
+# MTK Policy Rule
+# ==============================================
+#permissive br_app_data_service;
+init_daemon_domain(br_app_data_service)
+
+#============= br_app_data_service ==============
+allow br_app_data_service app_data_file:dir create_dir_perms;
+allow br_app_data_service self:capability { chown dac_override };
+allow br_app_data_service app_data_file:file create_file_perms;