aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/mmc3524xd.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/mmc3524xd.te
initial releasecm-13.0
Diffstat (limited to 'sepolicy/mmc3524xd.te')
-rw-r--r--sepolicy/mmc3524xd.te17
1 files changed, 17 insertions, 0 deletions
diff --git a/sepolicy/mmc3524xd.te b/sepolicy/mmc3524xd.te
new file mode 100644
index 0000000..54e8f1a
--- /dev/null
+++ b/sepolicy/mmc3524xd.te
@@ -0,0 +1,17 @@
+# ==============================================
+# Policy File of /system/bin/mmc3524xd Executable File
+
+
+# ==============================================
+# Type Declaration
+# ==============================================
+type mmc3524xd_exec , exec_type, file_type;
+type mmc3524xd ,domain;
+
+#permissive mmc3524xd;
+init_daemon_domain(mmc3524xd)
+
+#add permission
+allow mmc3524xd gsensor_device:chr_file {open ioctl read write};
+allow mmc3524xd msensor_device:chr_file {open ioctl read write};
+