mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2025-12-26 08:40:08 +01:00
2004-10-18 Colin Walters <walters@verbum.org>
* bus/selinux.c (bus_selinux_enabled): Handle --disable-selinux case.
This commit is contained in:
parent
736fa825e1
commit
f79e96fc08
2 changed files with 9 additions and 0 deletions
|
|
@ -1,3 +1,8 @@
|
|||
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>
|
||||
|
||||
* bus/selinux.h: Add bus_selinux_enabled.
|
||||
|
|
|
|||
|
|
@ -197,7 +197,11 @@ avc_free_lock (void *lock)
|
|||
dbus_bool_t
|
||||
bus_selinux_enabled (void)
|
||||
{
|
||||
#ifdef HAVE_SELINUX
|
||||
return selinux_enabled;
|
||||
#else
|
||||
return FALSE;
|
||||
#endif /* HAVE_SELINUX */
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue