aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2013-12-05 17:26:00 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2013-12-05 17:26:00 -0800
commitb96f677cf000b9db78359092a0a75a8fc75809cf (patch)
treec45dc64e2e1418138788b4bdc8ce7a8697ba05d6
parentaa376831e88cf08a6c6e73bfcf05345412a357bb (diff)
parent4ab298359613736281e10accaed3a6ffe1fe590a (diff)
downloadsepolicy-b96f677cf000b9db78359092a0a75a8fc75809cf.tar.gz
Merge commit '4ab298359613736281e10accaed3a6ffe1fe590a' into HEAD
-rw-r--r--vold.te4
1 files changed, 4 insertions, 0 deletions
diff --git a/vold.te b/vold.te
index 25e586a..12fe691 100644
--- a/vold.te
+++ b/vold.te
@@ -14,6 +14,7 @@ allow vold rootfs:dir mounton;
allow vold sdcard_type:dir mounton;
allow vold sdcard_type:filesystem { mount remount unmount };
allow vold sdcard_type:dir create_dir_perms;
+allow vold sdcard_type:file create_file_perms;
allow vold tmpfs:filesystem { mount unmount };
allow vold tmpfs:dir create_dir_perms;
allow vold tmpfs:dir mounton;
@@ -29,6 +30,9 @@ allow vold domain:{ file lnk_file } r_file_perms;
allow vold domain:process { signal sigkill };
allow vold self:capability { sys_ptrace kill };
+# For blkid
+allow vold shell_exec:file rx_file_perms;
+
# XXX Label sysfs files with a specific type?
allow vold sysfs:file rw_file_perms;