aboutsummaryrefslogtreecommitdiffstats
path: root/vold.te
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2013-10-17 18:48:46 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-10-17 18:48:46 -0700
commit1d5176cd91e7f9c634bd5bbef764dd59b786e154 (patch)
treea0905e4f8d1b66989bb4ac4863f5b60214e9e0e6 /vold.te
parent060f6fa67e1d9779d2d8357659ae530d65171faa (diff)
parent2abfe7d4f72b0265b1dec31e675650c77998f4d6 (diff)
downloadandroid_external_sepolicy-1d5176cd91e7f9c634bd5bbef764dd59b786e154.tar.gz
android_external_sepolicy-1d5176cd91e7f9c634bd5bbef764dd59b786e154.tar.bz2
android_external_sepolicy-1d5176cd91e7f9c634bd5bbef764dd59b786e154.zip
am 2abfe7d4: Allow vold to invoke blkid, use external ASECs.
* commit '2abfe7d4f72b0265b1dec31e675650c77998f4d6': Allow vold to invoke blkid, use external ASECs.
Diffstat (limited to 'vold.te')
-rw-r--r--vold.te5
1 files changed, 5 insertions, 0 deletions
diff --git a/vold.te b/vold.te
index 25e586a..dfb3db7 100644
--- a/vold.te
+++ b/vold.te
@@ -29,6 +29,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;
@@ -65,3 +68,5 @@ allow vold asec_image_file:dir rw_dir_perms;
security_access_policy(vold)
allow vold asec_apk_file:dir { rw_dir_perms setattr };
allow vold asec_apk_file:file { r_file_perms setattr };
+allow vold sdcard_external:dir create_dir_perms;
+allow vold sdcard_external:file create_file_perms;