summaryrefslogtreecommitdiffstats
path: root/sepolicy/platform_app.te
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy/platform_app.te')
-rw-r--r--sepolicy/platform_app.te4
1 files changed, 4 insertions, 0 deletions
diff --git a/sepolicy/platform_app.te b/sepolicy/platform_app.te
new file mode 100644
index 0000000..db8647d
--- /dev/null
+++ b/sepolicy/platform_app.te
@@ -0,0 +1,4 @@
+# Direct access to vold-mounted storage under /mnt/media_rw
+# This is a performance optimization that allows platform apps to bypass the FUSE layer
+allow platform_app sdcard_posix:dir create_dir_perms;
+allow platform_app sdcard_posix:file create_file_perms;