Merge "Call selinux_status_open() prior to use of selinux_status_updated()."

This commit is contained in:
Nick Kralevich 2015-06-03 13:33:36 +00:00 committed by Gerrit Code Review
commit c19fdee38a

View File

@ -361,6 +361,7 @@ int main(int argc, char **argv)
selinux_enabled = is_selinux_enabled();
sehandle = selinux_android_service_context_handle();
selinux_status_open(true);
if (selinux_enabled > 0) {
if (sehandle == NULL) {