"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "bus/bus.c" between
dbus-1.13.12.tar.xz and dbus-1.13.14.tar.xz

About: D-Bus is an inter-process communication (IPC) system, allowing multiple, concurrently-running applications to communicate with one another. D-Bus supplies both a system daemon and a per-user-login-session daemon. Development version.

bus.c  (dbus-1.13.12.tar.xz):bus.c  (dbus-1.13.14.tar.xz)
skipping to change at line 1680 skipping to change at line 1680
} }
else else
{ {
sender_policy = NULL; sender_policy = NULL;
} }
/* First verify the SELinux access controls. If allowed then /* First verify the SELinux access controls. If allowed then
* go on with the standard checks. * go on with the standard checks.
*/ */
if (!bus_selinux_allows_send (sender, proposed_recipient, if (!bus_selinux_allows_send (sender, proposed_recipient,
dbus_message_type_to_string (dbus_message_get dbus_message_type_to_string (dbus_message_ge
_type (message)), t_type (message)),
dbus_message_get_interface (message), dbus_message_get_interface (message),
dbus_message_get_member (message), dbus_message_get_member (message),
dbus_message_get_error_name (message), dbus_message_get_error_name (message),
dest ? dest : DBUS_SERVICE_DBUS, dest ? dest : DBUS_SERVICE_DBUS,
activation_entry, activation_entry,
error)) error))
{ {
if (error != NULL && !dbus_error_is_set (error)) if (error != NULL && !dbus_error_is_set (error))
{ {
/* don't syslog this, just set the error: avc_has_perm should /* don't syslog this, just set the error: avc_has_perm should
* have already written to either the audit log or syslog */ * have already written to either the audit log or syslog */
complain_about_message (context, DBUS_ERROR_ACCESS_DENIED, complain_about_message (context, DBUS_ERROR_ACCESS_DENIED,
"An SELinux policy prevents this sender from sending this " "An SELinux policy prevents this sender from sending this "
"message to this recipient", "message to this recipient",
0, message, sender, proposed_recipient, FALSE, FALSE, error); 0, message, sender, proposed_recipient, FALSE, FALSE, error);
_dbus_verbose ("SELinux security check denying send to service\n") ; _dbus_verbose ("SELinux security check denying send to service\n") ;
 End of changes. 1 change blocks. 
8 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)