aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/BGW.te
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy/BGW.te')
-rw-r--r--sepolicy/BGW.te23
1 files changed, 23 insertions, 0 deletions
diff --git a/sepolicy/BGW.te b/sepolicy/BGW.te
new file mode 100644
index 0000000..d9ecfcd
--- /dev/null
+++ b/sepolicy/BGW.te
@@ -0,0 +1,23 @@
+# ==============================================
+# Policy File of /system/xbin/BGW Executable File
+
+
+# ==============================================
+# Type Declaration
+# ==============================================
+
+type BGW_exec , exec_type, file_type;
+type BGW ,domain;
+
+
+# ==============================================
+# MTK Policy Rule
+# ==============================================
+
+# permissive BGW;
+init_daemon_domain(BGW)
+
+#============= BGW ==============
+allow BGW ccci_device:chr_file { read write open };
+allow BGW self:netlink_socket { read bind create write };
+allow BGW stpwmt_device:chr_file { read write open };