aboutsummaryrefslogtreecommitdiffstats
path: root/sdcardd.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 /sdcardd.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 'sdcardd.te')
-rw-r--r--sdcardd.te2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdcardd.te b/sdcardd.te
index 1281ae4..4445183 100644
--- a/sdcardd.te
+++ b/sdcardd.te
@@ -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;