diff options
author | William Roberts <w.roberts@sta.samsung.com> | 2013-03-06 16:26:36 -0800 |
---|---|---|
committer | Stephen Smalley <sds@tycho.nsa.gov> | 2013-03-22 15:26:39 -0400 |
commit | c195ec31485766d065d3e3101268d5ce727ff4c0 (patch) | |
tree | ab9521bf725fab09caab042b0b1df679e52621ce /vold.te | |
parent | 1ed1effabf5e9fd99b89c25daea1906f26233e6b (diff) | |
download | android_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.te | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; |