From 94f3bcdbc1885dff28d873c289d3decb462e8506 Mon Sep 17 00:00:00 2001 From: Tom Cherry Date: Thu, 17 Aug 2017 16:52:10 -0700 Subject: [PATCH] init: fix copy/paste mistake Test: boot bullhead Change-Id: I0fedb48a9684e21a27a1d260b84cb49a1038ce3f --- init/selinux.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init/selinux.cpp b/init/selinux.cpp index b9305ed47..dd49f8487 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() {