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 /sdcardd.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 'sdcardd.te')
-rw-r--r-- | sdcardd.te | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6,7 +6,7 @@ init_daemon_domain(sdcardd) allow sdcardd cgroup:dir create_dir_perms; allow sdcardd fuse_device:chr_file rw_file_perms; allow sdcardd rootfs:dir mounton; -allow sdcardd sdcard:filesystem mount; +allow sdcardd sdcard_type:filesystem mount; allow sdcardd self:capability { setuid setgid dac_override sys_admin }; allow sdcardd system_data_file:dir create_dir_perms; allow sdcardd system_data_file:file create_file_perms; |