blob: 241f191bfa710c0a14a96433681e8815aef39ce8 [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;
5
6# Allow vold to change context for mounted ext4 sdcard
Lars Greiss25644532013-11-19 09:26:39 +01007allow vold labeledfs:filesystem { relabelfrom };
Nicholas Flintham3e2481d2014-11-14 23:19:24 +00008allow vold sdcard_external:filesystem { relabelfrom };
maxter03406a42014-01-11 22:08:21 -02009
10# Allow vold to access fuse for fuse-based fs
11allow vold fuse_device:chr_file rw_file_perms;
12
13# NTFS-3g wants to drop permission
14allow vold self:capability { setgid setuid };