Merge "Allow gmscore to write to /cache"
am: 4c78a608f9
Change-Id: I6c004da5909958d87700079f6630413b4bf08afa
This commit is contained in:
commit
c1420961e8
1 changed files with 6 additions and 0 deletions
|
@ -114,6 +114,12 @@ allow gmscore_app stats_service:service_manager find;
|
|||
allow gmscore_app shell_data_file:file r_file_perms;
|
||||
allow gmscore_app shell_data_file:dir r_dir_perms;
|
||||
|
||||
# Write to /cache.
|
||||
allow gmscore_app { cache_file cache_recovery_file }:dir create_dir_perms;
|
||||
allow gmscore_app { cache_file cache_recovery_file }:file create_file_perms;
|
||||
# /cache is a symlink to /data/cache on some devices. Allow reading the link.
|
||||
allow gmscore_app cache_file:lnk_file r_file_perms;
|
||||
|
||||
# Write to /data/ota_package for OTA packages.
|
||||
allow gmscore_app ota_package_file:dir rw_dir_perms;
|
||||
allow gmscore_app ota_package_file:file create_file_perms;
|
||||
|
|
Loading…
Reference in a new issue