Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2139c7fa authored by Stephen Smalley's avatar Stephen Smalley Committed by Nick Kralevich
Browse files

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



The selinux_status_*() interfaces require calling selinux_status_open()
first.  Since this was not being called by servicemanager, the
selinux_status_updated() call was always failing and servicemanager
was not reloading service_contexts upon a policy reload.

(cherrypicked from commit bea0746b)

Change-Id: I6ac62e114bbca99c5f0999feb918fcde15009274
Signed-off-by: default avatarStephen Smalley <sds@tycho.nsa.gov>
parent d910f3cf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment