_dbus_verbose ("SELinux security check denying send to service\n");
}
- return FALSE;
+ return BUS_RESULT_FALSE;
}
/* next verify AppArmor access controls. If allowed then
src ? src : DBUS_SERVICE_DBUS,
activation_entry,
error))
- return FALSE;
+ return BUS_RESULT_FALSE;
if (!bus_connection_is_active (sender))
{
retval = BUS_RESULT_FALSE;
- if (!bus_activation_activate_service (activation, connection, transaction, FALSE,
- message, name, error, NULL))
+ if (bus_activation_activate_service (activation, connection, transaction, FALSE,
+ message, name, error, NULL) == BUS_RESULT_FALSE)
{
_DBUS_ASSERT_ERROR_IS_SET (error);
_dbus_verbose ("bus_activation_activate_service() failed\n");
return FALSE;
}
- if (!bus_activation_activate_service (activation, NULL, transaction, TRUE,
- message, service_name, error, NULL))
+ if (bus_activation_activate_service (activation, NULL, transaction, TRUE,
+ message, service_name, error, NULL) == BUS_RESULT_FALSE)
{
_DBUS_ASSERT_ERROR_IS_SET (error);
_dbus_verbose ("bus_activation_activate_service() failed");
dbus_set_error (error, DBUS_ERROR_ACCESS_DENIED,
"Cannot change activation environment "
"on a system bus.");
- return FALSE;
+ return BUS_RESULT_FALSE;
}
activation = bus_connection_get_activation (connection);