summaryrefslogtreecommitdiffstats
path: root/sepolicy/dumpdcc.te
diff options
context:
space:
mode:
authorZiyan <jaraidaniel@gmail.com>2015-08-06 00:03:28 +0200
committerZiyan <jaraidaniel@gmail.com>2015-08-06 00:07:22 +0200
commit3097f42bb33999120e394f644917899f2f8935cc (patch)
tree57da6210fbfb07f198fa2c84ac18784b243ee9c9 /sepolicy/dumpdcc.te
parent1642c896306ce4142a4ee89e8319ae88b35698d6 (diff)
downloaddevice_samsung_tuna-3097f42bb33999120e394f644917899f2f8935cc.zip
device_samsung_tuna-3097f42bb33999120e394f644917899f2f8935cc.tar.gz
device_samsung_tuna-3097f42bb33999120e394f644917899f2f8935cc.tar.bz2
tuna: update SELinux policies
Change-Id: I0509465046ae5b22f4ab1e857db0645075d66628
Diffstat (limited to 'sepolicy/dumpdcc.te')
-rw-r--r--sepolicy/dumpdcc.te10
1 files changed, 10 insertions, 0 deletions
diff --git a/sepolicy/dumpdcc.te b/sepolicy/dumpdcc.te
new file mode 100644
index 0000000..abe4a69
--- /dev/null
+++ b/sepolicy/dumpdcc.te
@@ -0,0 +1,10 @@
+# dumpdcc
+type dumpdcc, domain;
+type dumpdcc_exec, exec_type, file_type;
+
+init_daemon_domain(dumpdcc)
+allow dumpdcc camera_device:chr_file { read write open ioctl };
+allow dumpdcc mtd_device:chr_file {read open };
+allow dumpdcc mtd_device:dir search;
+allow dumpdcc camera_data_file:dir { write add_name search };
+allow dumpdcc camera_data_file:file { create write open };