Enforce files loaded in DexFile to be read-only

Executables dynamically downloaded can be unexpectedly manipulated,
causing code injection. For apps targeting U+, we'd like to
introduce an enforcement in the platform to make sure files are
marked as read-only.

Test: m
Bug: 218865702
Change-Id: Id635fbc79fc9a345781081b71f02a580267be655
1 file changed