Pawit Pornkitprasan | ef90771 | 2013-11-14 10:46:26 +0700 | [diff] [blame] | 1 | # Allow vold to manage ASEC |
| 2 | allow vold sdcard_external:file create_file_perms; |
Pawit Pornkitprasan | 9a19f57 | 2013-11-15 09:54:39 +0700 | [diff] [blame] | 3 | |
| 4 | # Allow vold to change context for mounted ext4 sdcard |
| 5 | relabelto_domain(vold) |
| 6 | allow vold labeledfs:filesystem { relabelfrom }; |
| 7 | allow vold sdcard_external:filesystem { relabelfrom relabelto }; |
Pawit Pornkitprasan | 54c91b8 | 2013-12-10 17:10:50 +0700 | [diff] [blame^] | 8 | |
| 9 | # Allow vold to access fuse for fuse-based fs |
| 10 | allow vold fuse_device:chr_file rw_file_perms; |
| 11 | |
| 12 | # NTFS-3g wants to drop permission |
| 13 | allow vold self:capability { setgid setuid }; |