summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-transport.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-04-24 04:38:27 +0200
committerLennart Poettering <lennart@poettering.net>2009-05-20 02:09:31 +0200
commitc200e0304d6f53a0fd47f524386b02b27c0c45f6 (patch)
tree2d78c7bb46d1ce81538c7c36cce948f170d933b1 /dbus/dbus-transport.c
parent89318bbeb4076d8d9de9831d69621fc1411760d3 (diff)
auth: add fd passing negotiation support
This adds two new directives to the auth protocol: NEGOTIATE_UNIX_FD is sent by the client after the authentication was sucessful, i.e. OK was received. AGREE_UNIX_FD is then sent by the server if it can do unix fd passing as well. ERROR is returned when the server cannot or is unwilling to do unix fd passing. This should be compatible with existing D-Bus implementations which will naturally return ERROR on NEGOTIATE_UNIX_FD.
Diffstat (limited to 'dbus/dbus-transport.c')
-rw-r--r--dbus/dbus-transport.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/dbus/dbus-transport.c b/dbus/dbus-transport.c
index 97ee0e9b..7ba01357 100644
--- a/dbus/dbus-transport.c
+++ b/dbus/dbus-transport.c
@@ -184,7 +184,6 @@ _dbus_transport_init_base (DBusTransport *transport,
transport->credentials = creds;
#ifdef HAVE_UNIX_FD_PASSING
- transport->can_pass_unix_fd = FALSE;
transport->unix_fds = NULL;
transport->n_unix_fds = 0;
#endif