aboutsummaryrefslogtreecommitdiffstats
path: root/sdcardd.te
diff options
context:
space:
mode:
authorrepo sync <gcondra@google.com>2013-05-17 17:11:29 -0700
committerrepo sync <gcondra@google.com>2013-05-20 11:08:05 -0700
commit77d4731e9d30c8971e076e2469d6957619019921 (patch)
treea09ca764a3474bfaf20c0aafee0bf3a907d382fe /sdcardd.te
parent42cabf341c8a600a218023ec69b3518e3d3d482c (diff)
downloadandroid_external_sepolicy-77d4731e9d30c8971e076e2469d6957619019921.tar.gz
android_external_sepolicy-77d4731e9d30c8971e076e2469d6957619019921.tar.bz2
android_external_sepolicy-77d4731e9d30c8971e076e2469d6957619019921.zip
Make all domains unconfined.
This prevents denials from being generated by the base policy. Over time, these rules will be incrementally tightened to improve security. Change-Id: I4be1c987a5d69ac784a56d42fc2c9063c402de11
Diffstat (limited to 'sdcardd.te')
-rw-r--r--sdcardd.te9
1 files changed, 1 insertions, 8 deletions
diff --git a/sdcardd.te b/sdcardd.te
index 3e556c3..32e686c 100644
--- a/sdcardd.te
+++ b/sdcardd.te
@@ -3,11 +3,4 @@ permissive sdcardd;
type sdcardd_exec, exec_type, file_type;
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_type:filesystem mount;
-allow sdcardd self:capability { setuid setgid dac_override sys_admin sys_resource };
-allow sdcardd system_data_file:dir create_dir_perms;
-allow sdcardd system_data_file:file create_file_perms;
+unconfined_domain(sdcardd)