omni: sepolicy: Add posix-type fs rules for sdcards.

Everything below holds for sdcards formatted with a
ext4 / f2fs or alike filesystem.

* Allow filesystem context relabeling from vold that is
  required to set the correct context.
* Grant access to the sdcard for untrusted_app,
  untrusted_app_25, priv_app, and platform_app.
* Label files & dirs below a corresponding sdcard with
  sdcard_posix (set in genfscontext).
* Allow installd to get the quota.
* Allow sdcard access for the mediaprovider.

Change-Id: I7b0347010e7bc11a461b0120f75095d5d6ad0c70
Signed-off-by: Alexander Diewald <Diewi@diewald-net.com>
diff --git a/sepolicy/platform_app.te b/sepolicy/platform_app.te
index 4e9ce97..bb66d50 100644
--- a/sepolicy/platform_app.te
+++ b/sepolicy/platform_app.te
@@ -22,3 +22,5 @@
 allow platform_app exfat:file { rw_file_perms create_file_perms };
 allow platform_app ntfs:dir { rw_dir_perms create_dir_perms };
 allow platform_app ntfs:file { rw_file_perms create_file_perms };
+allow platform_app sdcard_posix:dir create_dir_perms;
+allow platform_app sdcard_posix:file create_file_perms;