summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorVictor Hsieh <victorhsieh@google.com>2018-01-20 10:30:12 -0800
committerVictor Hsieh <victorhsieh@google.com>2018-01-24 16:30:55 -0800
commit5f76124551aa6582bb82034f8423b9d84f633d70 (patch)
tree308775d5b408e67c1405f238868faa6d66f316ce /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentd93a795945076ef407542bb6945832e3024ce3d7 (diff)
Skip priv app full apk verification if has verify
When ro.apk_verity.mode is on, full apk verification is only skipped if the apk already has verity enabled in the file system, and if the apk contains the Merkle tree root hash we need. Since the configuration in the file system is duplicated from the apk (including the offset and size of Signing Block and the Merkle tree), in order to prevent offline attacker from changing it, we need to measure the observed configuration and make sure it matches the kernel's view. Test: observed package manager's requeset to installd (only) for updated priv apps. Bug: 30972906 Change-Id: I33531a3f6148232b777ea8bfd02f13700649e317
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions