commit | 4055ce5313a1b1cbcafbe1fc4a619459a1d53cdc | [log] [tgz] |
---|---|---|
author | Inseob Kim <inseob@google.com> | Thu Apr 29 13:01:02 2021 +0900 |
committer | Inseob Kim <inseob@google.com> | Tue May 04 12:53:52 2021 +0000 |
tree | 525fc47ab82efd5ebef600c1cdfe149efcc40fce | |
parent | 9ef59ac901a87d30920db6aa8541bdaab67f7433 [diff] |
Add an api for platform sepolicy version to vintf PLATFORM_SEPOLICY_VERSION will be the latest version in system's compatibility matrix. This change adds a function getPlatformSepolicyVersion, which ultimately gets PLATFORM_SEPOLICY_VERSION, just like getSepolicyVersion for vendor. This will be used from the SELinux CTS. Bug: 186596569 Test: atest CtsSecurityHostTestCases:android.security.cts.SELinuxNeverallowRulesTest Change-Id: Ic7863ece9413b9a6a4a91ff42d3121935823fe8b