mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-27 16:18:13 +02:00
* dbus/dbus-mainloop.c: fix some reentrancy issues by refcounting callbacks * test/data/valid-config-files/debug-allow-all.conf.in: allow all users * dbus/dbus-transport.c (_dbus_transport_get_dispatch_status): fix to only recover unused bytes if we're already authenticated (_dbus_transport_get_is_authenticated): fix to still mark us authenticated if there are unused bytes. * bus/dispatch.c: implement security policy checking * bus/connection.c (bus_transaction_send_from_driver): new * bus/bus.c (bus_context_check_security_policy): new * bus/dispatch.c (send_service_nonexistent_error): delete this, now we just set the DBusError and it gets converted to an error reply. * bus/connection.c (allow_user_function): enable code using actual data from the config file * bus/policy.c (list_allows_user): handle wildcard rules for user/group connection perms
24 lines
811 B
Text
24 lines
811 B
Text
<!-- This configuration file controls the per-user-login-session message bus.
|
|
Add a session-local.conf and edit that rather than changing this
|
|
file directly. -->
|
|
|
|
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
|
|
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
|
|
<busconfig>
|
|
<!-- Our well-known bus type, don't change this -->
|
|
<type>session</type>
|
|
|
|
<listen>unix:tmpdir=@DBUS_SESSION_SOCKET_DIR@</listen>
|
|
|
|
<policy context="default">
|
|
<!-- Allow everything -->
|
|
<allow send="*"/>
|
|
<allow receive="*"/>
|
|
<allow own="*"/>
|
|
<allow user="*"/>
|
|
</policy>
|
|
|
|
<!-- This is included last so local configuration can override what's
|
|
in this standard file -->
|
|
<include ignore_missing="yes">session-local.conf</include>
|
|
</busconfig>
|