Reject APEXes with manifest mismatches.

We initially use the manifest outside the filesystem to determine APEX
meta-data. But that manifest is not protected by dm-verity, and hence
shouldn't be trusted. To prevent tampering, verify that the manifest
inside the verified filesystem images matches the one outside it.

Bug: 126514108
Test: atest apexservice_test passes (with new test)
Change-Id: I2c9394cb4c409f212030d6008c15f4b681018996
5 files changed
tree: e040e91ff60b5fffc60c9cd40836bca12a1989dd
  1. apexd/
  2. apexer/
  3. proto/
  4. tests/
  5. OWNERS
  6. PREUPLOAD.cfg
  7. TEST_MAPPING