aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/br_app_data_service.te
diff options
context:
space:
mode:
authorMister Oyster <oysterized@gmail.com>2017-01-02 12:44:35 +0100
committerMister Oyster <oysterized@gmail.com>2017-01-02 12:44:35 +0100
commita184d985bf43d3fe6eeba971bc6b32f79ea38b37 (patch)
tree6f6e56e090777cc149bc1ab39e5987cc2b03e867 /sepolicy/br_app_data_service.te
initial releasecm-13.0
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;