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:
commit
d4a148b7d9
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user