summaryrefslogtreecommitdiff
path: root/base/stringprintf_test.cpp
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2015-04-28 12:39:41 -0700
committerNick Kralevich <nnk@google.com>2015-04-28 13:11:07 -0700
commitd34e407aeb5898f19d4f042b7558420bbb3a1817 (patch)
tree94fdaea0b40eab6fcc2b8e4be31f94a89e38edd3 /base/stringprintf_test.cpp
parent2b3a4939463cb2eb6b65e416f6544a2e2d3bc29b (diff)
init: remove support for disabled SELinux
Remove support for androidboot.selinux=disabled. Running with SELinux disabled is not a supported configuration anymore. SELinux must be in enforcing in shipping devices, but we also support permissive for userdebug/eng builds. Don't try security_setenforce() if we're already in enforcing mode. A kernel compiled without CONFIG_SECURITY_SELINUX_DEVELOP does not have a permissive mode, so the kernel will already be enforcing once the policy is loaded. Bug: 19702273 Change-Id: I07525a017ddb682020ec0d42e56a2702c053bdeb
Diffstat (limited to 'base/stringprintf_test.cpp')
0 files changed, 0 insertions, 0 deletions