blob: 0ae2a3e0b19ecb072ed6281d8b417eacfcd8db2f [file] [log] [blame]
Lars Greiss25644532013-11-19 09:26:39 +01001# Allow vold to manage ASEC
2allow vold sdcard_external:file create_file_perms;
3
4# Allow vold to change context for mounted ext4 sdcard
5relabelto_domain(vold)
6allow vold labeledfs:filesystem { relabelfrom };
maxter03406a42014-01-11 22:08:21 -02007
8# Allow vold to access fuse for fuse-based fs
9allow vold fuse_device:chr_file rw_file_perms;
10
11# NTFS-3g wants to drop permission
12allow vold self:capability { setgid setuid };
13
14# Allow vold to relabel sdcard fs mounts
15allow vold unlabeled:filesystem { relabelfrom };
Lars Greiss25644532013-11-19 09:26:39 +010016allow vold sdcard_external:filesystem { relabelfrom relabelto };