blob: acdc7af41f9075c1e8eb149649e529872a599ac8 [file] [log] [blame]
Tom Marshall39a42442014-11-26 13:26:14 -08001domain_trans(init, rootfs, vold)
2
Pawit Pornkitprasanef907712013-11-14 10:46:26 +07003# Allow vold to manage ASEC
4allow vold sdcard_external:file create_file_perms;
Pawit Pornkitprasan9a19f572013-11-15 09:54:39 +07005
Pawit Pornkitprasan54c91b82013-12-10 17:10:50 +07006# Allow vold to access fuse for fuse-based fs
7allow vold fuse_device:chr_file rw_file_perms;
8
9# NTFS-3g wants to drop permission
10allow vold self:capability { setgid setuid };
Matt Mower2806bc42014-12-19 10:45:10 -060011
12# Vold can also run as minivold in the rootfs
13recovery_only(`
14 allow vold rootfs:dir { add_name write };
15')