replicant-frameworks_native/cmds/servicemanager
Stephen Smalley 2139c7fa37 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 bea0746b24)

Change-Id: I6ac62e114bbca99c5f0999feb918fcde15009274
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2015-06-03 13:46:08 -07:00
..
Android.mk Add SELinux checks when adding a service. 2014-06-12 20:46:24 +00:00
bctest.c Add missing includes. 2015-01-29 22:32:32 -08:00
binder.c ServiceManager: Print kernel/userspace binder version 2015-04-03 17:02:48 -07:00
binder.h ServiceManager: Implement PING_TRANSACTION 2014-01-31 17:22:30 -08:00
service_manager.c Call selinux_status_open() prior to use of selinux_status_updated(). 2015-06-03 13:46:08 -07:00