Passing file descriptors over DBUS

Havoc Pennington hp at redhat.com
Thu Sep 8 05:47:49 PDT 2005


On Thu, 2005-09-08 at 12:48 +0200, Waldo Bastian wrote:
> 
> > The system bus is already used to obtain network configuration for
> > example (in NetworkManager), so there may be a way to use that same
> > approach.
> 
> Huh? I fail to see the relation between the two, but then again, I never 
> looked very closely to the NetworkManager. Any particular code I should look 
> at?

I don't know what you are doing in detail so I don't know if it relates.
The way NetworkManager works as I remember it is that the user's session
owns a service on the system bus which can be queried for the desired
network configuration. The system bus is intended to be an
authenticated/secure communication channel. Doing something similar for
some X config makes sense to me, but it depends on what you are doing
exactly.

Havoc




More information about the dbus mailing list