summaryrefslogtreecommitdiffstats
path: root/selinux/vold.te
diff options
context:
space:
mode:
authortilaksidduram <tilaksidduram@gmail.com>2015-12-21 21:36:04 +0530
committertilaksidduram <tilaksidduram@gmail.com>2015-12-22 19:54:22 +0530
commit0bf7364ac512f26be0373bf8810bd5c2cdc5c99d (patch)
tree10bcaf605808f2221c95c6eb9208db9b948c3d22 /selinux/vold.te
parentc44906d64a221421c303e36e1571f373984ef53a (diff)
downloaddevice_samsung_n7100-0bf7364ac512f26be0373bf8810bd5c2cdc5c99d.tar.gz
device_samsung_n7100-0bf7364ac512f26be0373bf8810bd5c2cdc5c99d.tar.bz2
device_samsung_n7100-0bf7364ac512f26be0373bf8810bd5c2cdc5c99d.zip
n7100: Bring in Selinux for M
* commits picked up from the i9300 device repo and made a few changes for n7100 credits to keepcalm444
Diffstat (limited to 'selinux/vold.te')
-rw-r--r--selinux/vold.te12
1 files changed, 12 insertions, 0 deletions
diff --git a/selinux/vold.te b/selinux/vold.te
new file mode 100644
index 0000000..ba429d6
--- /dev/null
+++ b/selinux/vold.te
@@ -0,0 +1,12 @@
+allow vold kernel:process setsched;
+allow vold sdcardd_exec:file { read open execute execute_no_trans };
+
+allow vold log_device:dir search;
+allow vold storage_stub_file:dir { read open search write add_name };
+allow vold mnt_media_rw_stub_file:dir { read open };
+allow vold blkid_exec:file { getattr execute read open execute_no_trans };
+
+allow vold log_device:chr_file { write open };
+
+allow vold efs_device_file:dir rw_file_perms;
+allow vold efs_device_file:file rw_file_perms;