diff options
author | Dan Cashman <dcashman@google.com> | 2017-04-10 12:20:01 -0700 |
---|---|---|
committer | Dan Cashman <dcashman@google.com> | 2017-04-12 10:45:08 -0700 |
commit | 692c3e4d38b338bfac3d1b81fc0c6db4dcb789f0 (patch) | |
tree | f7d335bb24e1d8d4e0a02a3d6b1e92285b670b72 /libutils/ProcessCallStack.cpp | |
parent | 585e6a89d73ccd26f871d73e2b49f10d61a56a5f (diff) |
init: use platform sepolicy version indicated by /vendor.
It's possible, in the event of a platform update, for the platform
SELinux policy to change from the policy on which the vendor SELinux
policy was originally based. In this case, a different mapping file
to bridge the differences between the new policy and the old needs to
be selected.
Make init choose which mapping policy file to use based on the version
reported in /vendor/etc/selinux/plat_sepolicy_vers.txt.
Bug: 36783775
Test: Force compilation of sepolicy on-device with mapping file changed
to new location and name, using the value reported on /vendor.
Change-Id: I63c883ccb79dd31c92dabe44a55c4ab50a3735e6
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions