Commit f79e96fc authored by Colin Walters's avatar Colin Walters

2004-10-18 Colin Walters <walters@verbum.org>

	* bus/selinux.c (bus_selinux_enabled): Handle
	--disable-selinux case.
parent 736fa825
2004-10-18 Colin Walters <walters@verbum.org>
* bus/selinux.c (bus_selinux_enabled): Handle
--disable-selinux case.
2004-10-18 Colin Walters <walters@verbum.org> 2004-10-18 Colin Walters <walters@verbum.org>
* bus/selinux.h: Add bus_selinux_enabled. * bus/selinux.h: Add bus_selinux_enabled.
......
...@@ -197,7 +197,11 @@ avc_free_lock (void *lock) ...@@ -197,7 +197,11 @@ avc_free_lock (void *lock)
dbus_bool_t dbus_bool_t
bus_selinux_enabled (void) bus_selinux_enabled (void)
{ {
#ifdef HAVE_SELINUX
return selinux_enabled; return selinux_enabled;
#else
return FALSE;
#endif /* HAVE_SELINUX */
} }
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment