am 1170bbe5: am c19fdee3: Merge "Call selinux_status_open() prior to use of selinux_status_updated()."

* commit '1170bbe56a3ebf94a6b25119826b1b57063896d0':
  Call selinux_status_open() prior to use of selinux_status_updated().
This commit is contained in:
Nick Kralevich 2015-06-03 13:56:54 +00:00 committed by Android Git Automerger
commit d4a148b7d9

View File

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