vendor: sepolicy update
-changes for sdcard (from CM)
-changes for exfat OTG
Change-Id: I617d0188d53797866b71db0dbcbfc27bf3e35aa1
diff --git a/sepolicy/vold.te b/sepolicy/vold.te
index fdbbd47..1a1d1ad 100644
--- a/sepolicy/vold.te
+++ b/sepolicy/vold.te
@@ -5,7 +5,7 @@
domain_trans(init, rootfs, vold)
# Allow vold to manage ASEC
-#allow vold sdcard_external:file create_file_perms;
+allow vold sdcard_type:file create_file_perms;
allow vold vold_tmpfs:file create_file_perms;
# Allow vold to access fuse for fuse-based fs
@@ -13,10 +13,11 @@
# NTFS-3g wants to drop permission
allow vold self:capability { setgid setuid };
-
# External storage
allow vold storage_stub_file:dir { rw_file_perms search add_name };
allow vold mnt_media_rw_stub_file:dir r_dir_perms;
-allow vold mkfs_exec:file { execute read open execute_no_trans };
+allow vold mkfs_exec:file { execute read open getattr execute_no_trans };
+allow vold fuse_device:dir getattr;
+allow vold fuse_device:filesystem unmount;