Skip to content
Snippets Groups Projects
Commit 4387956f authored by Geremy Condra's avatar Geremy Condra Committed by repo sync
Browse files

Add the ability to stat files under /cache for media_app.

This feels like a hidden bug- it shouldn't be trying to
stat everything under /cache anyways- but allowing for now.

Change-Id: Ib5ddfbb408c9f0b6c6218c78a678fcdb09360ccd
parent 06575ee4
No related branches found
No related tags found
No related merge requests found
...@@ -41,6 +41,12 @@ allow media_app mtp_device:chr_file rw_file_perms; ...@@ -41,6 +41,12 @@ allow media_app mtp_device:chr_file rw_file_perms;
# Write to /cache. # Write to /cache.
allow media_app cache_file:dir rw_dir_perms; allow media_app cache_file:dir rw_dir_perms;
allow media_app cache_file:file create_file_perms; allow media_app cache_file:file create_file_perms;
# Stat /cache/lost+found
allow media_app unlabeled:file getattr;
allow media_app unlabeled:dir getattr;
# Stat /cache/backup
allow media_app cache_backup_file:file getattr;
allow media_app cache_backup_file:dir getattr;
# Apps signed with the shared key. # Apps signed with the shared key.
type shared_app, domain; type shared_app, domain;
......
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