sepolicy: Allow system server and uncrypt access pipe

System server needs to be able to create a pipe in the cache partition
for uncrypting OTAs. Uncrypt needs to be able to read and write the
pipe.

Change-Id: Ie03ee7d637eaecff8fe38bf03dc733b3915cd336
This commit is contained in:
Pat Erley 2016-02-09 10:43:31 -08:00 committed by Wolfgang Wiedmeyer
parent 6d31d282c0
commit 18037e7462
2 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,6 @@
allow system_server recovery_cache_file:dir rw_dir_perms;
allow system_server recovery_cache_file:file create_file_perms;
allow system_server recovery_cache_file:fifo_file create_file_perms;
# Persistent properties
allow system_server persist_property_file:dir rw_dir_perms;

View File

@ -1,3 +1,4 @@
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;