diff options
author | Alex Klyubin <klyubin@google.com> | 2017-03-09 10:56:58 -0800 |
---|---|---|
committer | Alex Klyubin <klyubin@google.com> | 2017-03-09 11:11:23 -0800 |
commit | a71dfec4c286b60c41a7ff61a6bfc8c59968895f (patch) | |
tree | ec56dccfdd34c37ccf425110df28f18df189b8ae /libutils/ProcessCallStack.cpp | |
parent | c1b3c8ef2629eac2a73aa4a95bf43a66edf4cd0f (diff) |
Remove hard-coded policy version from secilc step
This change makes init's SELinux policy compilation step target the
highest SELinux policy language version supported by the kernel.
Prior to this change the version was simply hard-coded in init.
P. S. clang-format (part of presubmit for this change) is being
counter-productive trying to format the section with secilc
parameters. The resulting layout is harder to read. This commit thus
disables clang-format for this section of code and formats the code
for improved readability.
Test: Remove precompiled policy, device boots up, no new denials.
Added log statement to print out the policy version passed
into secilc -- it printed 30, as expected.
Bug: 31363362
Change-Id: I151017b5211712861bafb662525e794a44026dd2
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions