diff options
author | Havoc Pennington <hp@redhat.com> | 2007-06-12 18:36:19 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2007-06-12 18:36:19 +0000 |
commit | 94125e89b6be74cb20100d5321a98aa6529187a9 (patch) | |
tree | 7ec1aab41bad3448155c07e1a8328e9d0168a0a3 /dbus/dbus-transport-protected.h | |
parent | a789b7b38cb4f4540a41444cbd64bf7ada2d60d2 (diff) |
2007-06-12 Havoc Pennington <hp@redhat.com>
* dbus/dbus-auth.c (sha1_handle_second_client_response)
(handle_server_data_anonymous_mech): add the process ID from
socket credentials, if available, even if not using EXTERNAL
* dbus/dbus-transport.c (auth_via_default_rules): support
allow_anonymous flag
* dbus/dbus-connection.c (dbus_connection_get_is_anonymous)
(dbus_connection_set_allow_anonymous): new API for controlling
anonymous access
Diffstat (limited to 'dbus/dbus-transport-protected.h')
-rw-r--r-- | dbus/dbus-transport-protected.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dbus/dbus-transport-protected.h b/dbus/dbus-transport-protected.h index 6d3f1f3c..76a17cf2 100644 --- a/dbus/dbus-transport-protected.h +++ b/dbus/dbus-transport-protected.h @@ -116,6 +116,7 @@ struct DBusTransport unsigned int receive_credentials_pending : 1; /**< #TRUE if we need to receive credentials */ unsigned int is_server : 1; /**< #TRUE if on the server side */ unsigned int unused_bytes_recovered : 1; /**< #TRUE if we've recovered unused bytes from auth */ + unsigned int allow_anonymous : 1; /**< #TRUE if an anonymous client can connect */ }; dbus_bool_t _dbus_transport_init_base (DBusTransport *transport, |