platform_system_sepolicy/prebuilts/api
Calin Juravle de7244cf23 Fix sepolicy for secondary dex files
dexoptanalyzer need read access on the secondary
dex files and of the main apk files in order to successfully evaluate
and optimize them.

Example of denial:
audit(0.0:30): avc: denied { read } for
path="/data/app/~~Zux_isdY0NBkRWPp01oAVg==/com.example.secondaryrepro-wH9zezMSCzIjcKdIMtrw7A==/base.apk"
dev="vdc" ino=40966 scontext=u:r:dexoptanalyzer:s0
tcontext=u:object_r:apk_data_file:s0 tclass=file permissive=0
app=com.example.secondaryrepro

Test: adb shell cmd package compile -r bg-dexopt --secondary-dex app
Bug: 160471235
Bug: 160351055
Change-Id: Id0bda5237d3ce1620d4f6ee89595836b4e1f3abf
2020-07-15 16:43:40 +00:00
..
26.0 Finer grained permissions for ctl. properties 2018-05-22 13:47:16 -07:00
27.0 Add prebuilts/api/27.0/nonplat_sepolicy.cil. 2018-01-31 16:26:16 -08:00
28.0 DO NOT MERGE - Merge pi-platform-release (PPRL.190505.001) into stage-aosp-master 2019-05-14 12:16:13 -07:00
29.0 Merge "Enable tracing of the ion/ion_stat events" am: e597605e01 2020-04-27 14:06:04 +00:00
30.0 Fix sepolicy for secondary dex files 2020-07-15 16:43:40 +00:00