Skip to content
Snippets Groups Projects
Commit ad7a0ad2 authored by Patrick Tjin's avatar Patrick Tjin Committed by Pat Tjin
Browse files

sepolicy: add support for devices without cache partition

Adds the rules for /data/cache used for devices which do
not have a cache partition.

Bug: 28747374
Change-Id: I7c749e7692c9b8eab02029bbae5a3c78585030da
parent 26e675c6
No related branches found
No related tags found
No related merge requests found
...@@ -355,6 +355,13 @@ ...@@ -355,6 +355,13 @@
# LocalTransport (backup) uses this subtree # LocalTransport (backup) uses this subtree
/cache/backup(/.*)? u:object_r:cache_private_backup_file:s0 /cache/backup(/.*)? u:object_r:cache_private_backup_file:s0
/data/cache(/.*)? u:object_r:cache_file:s0
/data/cache/recovery(/.*)? u:object_r:cache_recovery_file:s0
# General backup/restore interchange with apps
/data/cache/backup_stage(/.*)? u:object_r:cache_backup_file:s0
# LocalTransport (backup) uses this subtree
/data/cache/backup(/.*)? u:object_r:cache_private_backup_file:s0
############################# #############################
# sysfs files # sysfs files
# #
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment