dexoptanalyzer: Allow writing into installd's pipe
Dexoptanalyzer is getting a new mode to instruct installd on which dex files it needs to open for itself and dex2oat from class loader context. The file list is communicated by a pipe from a forked dexoptanalyzer process to the installd parent. Give dexoptanalyzer permission to write to installd's pipes. Bug; 126674985 Test: atest installd_dexopt_test Change-Id: Ic415e2dc543099d26681103c9d368c941d21b49a
This commit is contained in:
parent
f52fefe5ee
commit
246efa2a24
@ -17,6 +17,7 @@ allow dexoptanalyzer dalvikcache_data_file:file r_file_perms;
|
||||
allow dexoptanalyzer dalvikcache_data_file:lnk_file read;
|
||||
|
||||
allow dexoptanalyzer installd:fd use;
|
||||
allow dexoptanalyzer installd:fifo_file { getattr write };
|
||||
|
||||
# Allow reading secondary dex files that were reported by the app to the
|
||||
# package manager.
|
||||
|
Loading…
Reference in New Issue
Block a user