commit | 94f3bcdbc1885dff28d873c289d3decb462e8506 | [log] [tgz] |
---|---|---|
author | Tom Cherry <tomcherry@google.com> | Thu Aug 17 16:52:10 2017 -0700 |
committer | Tom Cherry <tomcherry@google.com> | Thu Aug 17 16:52:10 2017 -0700 |
tree | c7712aa4aa719719d6514fcc1a5a49ff36c5327d | |
parent | 334929b525370a8a008b276e81e7ba573af7808f [diff] [blame] |
init: fix copy/paste mistake Test: boot bullhead Change-Id: I0fedb48a9684e21a27a1d260b84cb49a1038ce3f
diff --git a/init/selinux.cpp b/init/selinux.cpp index b9305ed..dd49f84 100644 --- a/init/selinux.cpp +++ b/init/selinux.cpp
@@ -68,10 +68,10 @@ namespace android { namespace init { -static struct selabel_handle* sehandle = nullptr; - namespace { +selabel_handle* sehandle = nullptr; + enum EnforcingStatus { SELINUX_PERMISSIVE, SELINUX_ENFORCING }; EnforcingStatus StatusFromCmdline() {