replicant-vendor_replicant/sepolicy/system_app.te
Ricardo Cerqueira c75446d072 sepolicy: Split off /cache/recovery's permissions
/cache/recovery is used by 2 domains: recovery and updater apps. Separate
its perms from the rest of /cache and grant them to those 2 clients

Change-Id: Iacde60744c07423f9876c2f8e3da900543e38ddf
2015-02-11 19:44:43 +00:00

8 lines
308 B
Plaintext

# For performance settings
allow system_app sysfs_devices_system_cpu:file rw_file_perms;
allow system_app sysfs_devices_system_iosched:file rw_file_perms;
# For the updaters
allow system_app recovery_cache_file:dir {add_name rw_file_perms};
allow system_app recovery_cache_file:file {create rw_file_perms};