Win32 port

Havoc Pennington hp at redhat.com
Tue Jun 27 20:44:23 PDT 2006


Tor Lillqvist wrote:
> 
> One possible reason why this might not be a good idea is if such
> integer representations of SIDs need to be consistent across running
> processes, or between invocations of a program? But, at least if it's
> enough that the mapping is consistent and persistent until the next
> reboot, one could use Windows own "quarks", GlobalAddAtom().
>

Or have to/from string converters, and have the rule that to go outside 
the process you have to do this conversion. I'm not sure where this 
comes up in the dbus codebase - it may well, in the config file or in 
the auth protocol. GlobalAddAtom() seems like it'd be a little scary... 
especially if it leaked out of dbus internals and effectively became 
some sort of public API...

Havoc



More information about the dbus mailing list