diff options
Diffstat (limited to 'bus/selinux.c')
| -rw-r--r-- | bus/selinux.c | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/bus/selinux.c b/bus/selinux.c index 9e73cc63..2b88a60d 100644 --- a/bus/selinux.c +++ b/bus/selinux.c @@ -571,6 +571,7 @@ dbus_bool_t  bus_selinux_append_context (DBusMessage    *message,  			    BusSELinuxID   *context)  { +#ifdef HAVE_SELINUX    /* Note if you change how the context is marshalled (e.g. to ay),     * you also need to change driver.c for the appropriate return value.     */ @@ -578,6 +579,9 @@ bus_selinux_append_context (DBusMessage    *message,  				   DBUS_TYPE_STRING,  				   SELINUX_SID_FROM_BUS (context),  				   DBUS_TYPE_INVALID); +#else +  return FALSE; +#endif  }  /**  | 
