aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/xlog.te
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy/xlog.te')
-rwxr-xr-xsepolicy/xlog.te29
1 files changed, 29 insertions, 0 deletions
diff --git a/sepolicy/xlog.te b/sepolicy/xlog.te
new file mode 100755
index 0000000..dbd56a2
--- /dev/null
+++ b/sepolicy/xlog.te
@@ -0,0 +1,29 @@
+# ==============================================
+# Policy File of /system/binxlog Executable File
+
+
+# ==============================================
+# Type Declaration
+# ==============================================
+
+type xlog_exec , exec_type, file_type;
+type xlog ,domain;
+
+# ==============================================
+# Android Policy Rule
+# ==============================================
+
+# ==============================================
+# NSA Policy Rule
+# ==============================================
+
+# ==============================================
+# MTK Policy Rule
+# ==============================================
+
+#permissive xlog;
+init_daemon_domain(xlog)
+#unconfined_domain(xlog)
+allow xlog self:capability { fowner chown fsetid dac_override };
+allow xlog system_data_file:dir { write add_name };
+allow xlog system_data_file:file { write create open setattr };