blob: bb66d50a6621a9356a5cb040cf0d164d03e1b745 [file] [log] [blame]
maxwen85c37d62016-02-26 03:45:57 +01001# Direct access to vold-mounted storage under /mnt/media_rw
2# This is a performance optimization that allows platform apps to bypass the FUSE layer
Marko Man9b6106e2017-08-24 23:30:54 +02003#allow platform_app sdcard_posix:dir create_dir_perms;
4#allow platform_app sdcard_posix:file create_file_perms;
Marko Man04ce3312016-11-03 23:13:49 +01005
mweninge03f34512016-07-26 16:45:04 +02006# gallery2 crop avatar
Marko Man04ce3312016-11-03 23:13:49 +01007allow platform_app system_app_data_file:file { create_file_perms rw_file_perms };
mweninge03f34512016-07-26 16:45:04 +02008
maxwen84652012016-12-29 17:19:03 +01009# gallery2 renderscript
10allow platform_app app_data_file:file { execute };
11
Marko Man6ca28272016-10-20 01:36:14 +020012#exfat/ntfs OTG
13allow platform_app fuse_device:dir { rw_dir_perms create_dir_perms };
14allow platform_app fuse_device:file { rw_file_perms create_file_perms };
15allow platform_app fuse_device:filesystem getattr;
16
maxwen70f05d02017-07-22 19:05:50 +020017# MatLog calls dmesg
18allow platform_app kernel:system syslog_read;
Marko Manf2db15b2018-01-09 00:42:23 +010019
20# no-fuse
21allow platform_app exfat:dir { rw_dir_perms create_dir_perms };
22allow platform_app exfat:file { rw_file_perms create_file_perms };
23allow platform_app ntfs:dir { rw_dir_perms create_dir_perms };
24allow platform_app ntfs:file { rw_file_perms create_file_perms };
Alexander Diewald259f9382018-01-25 22:44:48 +010025allow platform_app sdcard_posix:dir create_dir_perms;
26allow platform_app sdcard_posix:file create_file_perms;