summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2017-08-18 01:55:43 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-08-18 01:55:43 +0000
commitad42b33eaa2ce406d470e7583ff7ee07b5e05325 (patch)
treeea4b536c1ce1f9f0bdc711641ad9b02886c6abfc /init
parent57f94aa4bc0fb0887c33ca65265f0550273340bb (diff)
parentf85404521ea46fde04be917b9f81747369036f66 (diff)
downloadcore-ad42b33eaa2ce406d470e7583ff7ee07b5e05325.tar.gz
core-ad42b33eaa2ce406d470e7583ff7ee07b5e05325.tar.bz2
core-ad42b33eaa2ce406d470e7583ff7ee07b5e05325.zip
Merge "init: fix copy/paste mistake"
am: f85404521e Change-Id: Id7382a959f5a22e4f4897ad593ea7202aae95c19
Diffstat (limited to 'init')
-rw-r--r--init/selinux.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/init/selinux.cpp b/init/selinux.cpp
index 32bb3dc6d..a2ba66aa6 100644
--- a/init/selinux.cpp
+++ b/init/selinux.cpp
@@ -68,10 +68,10 @@ using android::base::unique_fd;
namespace android {
namespace init {
-static struct selabel_handle* sehandle = nullptr;
-
namespace {
+selabel_handle* sehandle = nullptr;
+
enum EnforcingStatus { SELINUX_PERMISSIVE, SELINUX_ENFORCING };
EnforcingStatus StatusFromCmdline() {