sepolicy[4/8]: treat fuseblk as sdcard_external

Allow fuse-mounted NTFS/exFAT file systems to be written to

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I1492914dd269a305e27aba58e61064d853adf2bc
sepolicy[5/8]: allow installd to query ASEC size

installd need to query ASEC size on sdcard_external
to show on the Settings -> Apps page correctly.

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I2d9a49b8f0652f05d73d0ff464a3835595e2cc3c
sepolicy[6/8]: allow vold to create files on external sdcard

This is required for ASEC support. Vold can already create and
access directories, but do not yet have the permission for files.

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I5082bbff692e5dc53c7000e4b3a293e42d33f901
sepolicy[7/8]: allow vold to mount ext4 sdcard

When vold mounts an ext4 sdcard, it needs to force the context to
sdcard_external.

avc:  denied  { relabelfrom } for  pid=190 comm=vold scontext=u:r:vold:s0 tcontext=u:object_r:labeledfs:s0 tclass=filesystem
avc:  denied  { relabelto } for  pid=190 comm=vold scontext=u:r:vold:s0 tcontext=u:object_r:sdcard_external:s0 tclass=filesystem
avc:  denied  { relabelfrom } for  pid=190 comm=vold scontext=u:r:vold:s0 tcontext=u:object_r:sdcard_external:s0 tclass=filesystem

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I80f42fbdf738dee10958ce1bdc1893a41234f0d9
sepolicy[8]: Add specific file_contexts

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: Ie70c59acedbb7be2f5b34a83c1d3d011f440ba05