diff options
author | Havoc Pennington <hp@redhat.com> | 2003-04-14 02:29:21 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-04-14 02:29:21 +0000 |
commit | 777707ed8dff6958972a93894a87ec1945c65c14 (patch) | |
tree | 4ade9d56eccc5280150968e692a389e8749ed029 /bus/bus.h | |
parent | 8aabca8dd28a113712389be51e75ea8c2fd17838 (diff) |
2003-04-13 Havoc Pennington <hp@pobox.com>
* 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
Diffstat (limited to 'bus/bus.h')
-rw-r--r-- | bus/bus.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -57,6 +57,11 @@ dbus_bool_t bus_context_allow_user (BusContext *context, BusClientPolicy* bus_context_create_client_policy (BusContext *context, DBusConnection *connection); int bus_context_get_activation_timeout (BusContext *context); +dbus_bool_t bus_context_check_security_policy (BusContext *context, + DBusConnection *sender, + DBusConnection *recipient, + DBusMessage *message, + DBusError *error); #endif /* BUS_BUS_H */ |