aboutsummaryrefslogtreecommitdiffstats
path: root/vold.te
diff options
context:
space:
mode:
authorWilliam Roberts <w.roberts@sta.samsung.com>2013-03-06 16:26:36 -0800
committerStephen Smalley <sds@tycho.nsa.gov>2013-03-22 15:26:39 -0400
commitc195ec31485766d065d3e3101268d5ce727ff4c0 (patch)
treeab9521bf725fab09caab042b0b1df679e52621ce /vold.te
parent1ed1effabf5e9fd99b89c25daea1906f26233e6b (diff)
downloadandroid_external_sepolicy-c195ec31485766d065d3e3101268d5ce727ff4c0.tar.gz
android_external_sepolicy-c195ec31485766d065d3e3101268d5ce727ff4c0.tar.bz2
android_external_sepolicy-c195ec31485766d065d3e3101268d5ce727ff4c0.zip
Split internal and external sdcards
Two new types are introduced: sdcard_internal sdcard_external The existing type of sdcard, is dropped and a new attribute sdcard_type is introduced. The boolean app_sdcard_rw has also been changed to allow for controlling untrusted_app domain to use the internal and external sdcards. Change-Id: Ic7252a8e1703a43cb496413809d01cc6cacba8f5
Diffstat (limited to 'vold.te')
-rw-r--r--vold.te6
1 files changed, 3 insertions, 3 deletions
diff --git a/vold.te b/vold.te
index 60d6a37..c1b9055 100644
--- a/vold.te
+++ b/vold.te
@@ -10,9 +10,9 @@ allow vold block_device:blk_file create_file_perms;
allow vold block_device:lnk_file read;
allow vold devpts:chr_file rw_file_perms;
allow vold rootfs:dir mounton;
-allow vold sdcard:dir mounton;
-allow vold sdcard:filesystem { mount remount unmount };
-allow vold sdcard:dir create_dir_perms;
+allow vold sdcard_type:dir mounton;
+allow vold sdcard_type:filesystem { mount remount unmount };
+allow vold sdcard_type:dir create_dir_perms;
allow vold tmpfs:filesystem { mount unmount };
allow vold tmpfs:dir create_dir_perms;
allow vold tmpfs:dir mounton;