blob: 9b7313c20886aa6b0459a41e829d91adde0562e2 [file] [log] [blame]
Tom Marshall17834ae2014-11-26 13:26:14 -08001domain_trans(init, rootfs, vold)
2
Lars Greiss25644532013-11-19 09:26:39 +01003# Allow vold to manage ASEC
4allow vold sdcard_external:file create_file_perms;
Christopher R. Palmer2e1440e2015-02-19 10:54:30 -05005allow vold vold_tmpfs:file create_file_perms;
Lars Greiss25644532013-11-19 09:26:39 +01006
maxter03406a42014-01-11 22:08:21 -02007# Allow vold to access fuse for fuse-based fs
8allow vold fuse_device:chr_file rw_file_perms;
9
10# NTFS-3g wants to drop permission
11allow vold self:capability { setgid setuid };
Matt Mower0b2bdba2014-12-19 10:45:10 -060012
13# Vold can also run as minivold in the rootfs
14recovery_only(`
15 allow vold rootfs:dir { add_name write };
16')