sepolicy: Allow uncrypt additional access

Uncrypt may need access to additional selinux contexts for devices
with created storage solutions.

Change-Id: Ie90f130ff6bafdd195379f7d57504b2fce4ef830
This commit is contained in:
Pat Erley 2016-05-09 14:36:29 -07:00 committed by Gerrit Code Review
parent 603ce3ba3e
commit ca2061460c
1 changed files with 5 additions and 0 deletions

View File

@ -2,3 +2,8 @@ r_dir_file(uncrypt, media_rw_data_file)
allow uncrypt recovery_cache_file:dir create_dir_perms;
allow uncrypt recovery_cache_file:file create_file_perms;
allow uncrypt recovery_cache_file:fifo_file rw_file_perms;
allow uncrypt storage_file:dir r_dir_perms;
allow uncrypt storage_stub_file:dir r_dir_perms;
allow uncrypt fuse:dir r_dir_perms;
allow uncrypt fuse:file r_file_perms;