summaryrefslogtreecommitdiffstats
path: root/sepolicy/platform_app.te
blob: 05376ff59c03f2ec83f30773e59f0da717619f3c (plain)
1
2
3
4
5
6
7
8
9
10
# 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;

# Allow Gallery3D to crop user images
allow platform_app system_app_data_file:file rw_file_perms;

# Allow Gallery3D to execute render scripts
allow platform_app app_data_file:file execute;