A common VFS and a Common conf-system [Part II]

Jamie McCracken jamiemcc at blueyonder.co.uk
Thu Mar 3 16:11:32 EET 2005

Alexander Larsson wrote:

> You have to do authentication callbacks in the process doing the actual
> i/o request. Otherwise things like gnome-keyring that depend on which
> binary did the request to decide access rights won't work.

So this kills off the need to have a daemon then?

If so can I reshape Sean's proposals as follows:

We make it fully in process.

We have a libDVFS that provides both async and sync i/o for all backends 
and also handles any authentication (if this needs to be shared amongst 
apps then another daemon may be required or maybe the keyring can handle 
sharing seeing as it will know which apps are authorised to do so).

The lib will support two kinds of backends - async and sync ones. This 
should make it very easy to write them whilst being optimal too. The lib 
will provide all the threading to make sync backends asscesible in an 
async manner and likewise make async backends synchronous if needs be etc.

For added security (if its really necessary) the backends might need to 
be digitally signed somehow - the lib should be able to crosscheck with 
an approved list.


More information about the xdg mailing list