[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-dbus
Subject:    Re: Win32 port
From:       Havoc Pennington <hp () redhat ! com>
Date:       2006-06-28 3:44:23
Message-ID: 44A1FB17.6070001 () redhat ! com
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic