sepolicy: Allow system apps to write cache and media files
Updaters need to be able to read and write to these locations. Change-Id: I928a5f73ec29ab4fecb717072532d449192f3ca9
This commit is contained in:
parent
9cfcfcc016
commit
ac15eaedf9
@ -3,5 +3,7 @@ allow system_app sysfs_devices_system_cpu:file rw_file_perms;
|
|||||||
allow system_app sysfs_devices_system_iosched:file rw_file_perms;
|
allow system_app sysfs_devices_system_iosched:file rw_file_perms;
|
||||||
|
|
||||||
# For the updaters
|
# For the updaters
|
||||||
allow system_app recovery_cache_file:dir {add_name rw_file_perms};
|
allow system_app recovery_cache_file:dir create_dir_perms;
|
||||||
allow system_app recovery_cache_file:file {create rw_file_perms};
|
allow system_app recovery_cache_file:file create_file_perms;
|
||||||
|
allow system_app media_rw_data_file:dir create_dir_perms;
|
||||||
|
allow system_app media_rw_data_file:file create_file_perms;
|
||||||
|
Loading…
Reference in New Issue
Block a user