diff options
author | Tri Vo <trong@google.com> | 2019-01-22 18:22:25 -0800 |
---|---|---|
committer | Tri Vo <trong@google.com> | 2019-01-23 09:23:22 -0800 |
commit | c8137f93f7ddde2b905d05f948f2b3f0a03bec8e (patch) | |
tree | 2c535aee7a22e58bb9fa3f23b212dd4f28dcfde8 /trusty/coverage/coverage.cpp | |
parent | 23a40c7b165f3b86751f022d96f4d5ea4fe5cac4 (diff) |
selinux: account for /product hash
We need to be able to tell if /product was updated independently
/system. Otherwise, the device might accidentally load the
precompiled_policy after a /product sepolicy update.
Bug: 119305624
Test: boot aosp_taimen, precompiled policy is loaded
Test: If either of these hashes
/system/etc/selinux/plat_sepolicy_and_mapping.sha256
/product/etc/selinux/product_sepolicy_and_mapping.sha256
are removed, then init falls back to compiling sepolicy at boot time.
Change-Id: I3d658335cf66bcb7123109de701309039b1ae5ba
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions