[PATCH V2] Handle EAGAIN in wpa_supplicant_ctrl_iface_send
Jouni Malinen
j
Wed Sep 25 13:25:36 PDT 2013
On Wed, Sep 25, 2013 at 09:30:30AM -0500, Dan Williams wrote:
> D-Bus! :) </rim shot>
>
> You don't even need a dbus-daemon process running to use the D-Bus
> protocol as long as you enforce authorization by checking the socket
> peer credentials. All you need is libdbus. If there's interest, that
> could certainly be implemented in the supplicant; typically it's just a
> private socket somewhere in /var.
I'm not sure this would be appropriate replacement for the control
interface.. I want to be able to live without dependency on D-Bus here
and we already have a separate D-Bus interface. I was thinking more of
using SOCK_STREAM with AF_UNIX socket or SOCK_SEQPACKET for that matter.
Anyway, since these would result in having to modify all client
implementations, these are not really easy steps to take and if taken,
this could as well move to any other mechanism as long as it does not
come with unacceptable dependencies on external components.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list