Issue with _dbus_write_socket on windows

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Sun Nov 19 11:14:02 PST 2006


Ralf Habacker schrieb:
> Peter Kümmel schrieb:
>> Havoc Pennington wrote:
>>  
>>> Peter Kümmel wrote:
>>>    
>>>> we already have a 2-way mapping between dbus_uid_t and SID
>>>>
>>>>       
>>> Are you putting the dbus_uid_t in the lock name? Remember the dbus_uid_t
>>> is per-process.
>>>
>>> Havoc
>>>
>>>     
>>
>> This is a problem, indeed. So we must find a other way.
>>
>>   
> Wouldn't be the current user name or user sid uniq enough ?
> 
I'm using GetUserName() now, maybe GetUserNameEx() is the better way
(because it can return a guid), but this function is only available on
w2k and up.

Christian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.freedesktop.org/archives/dbus/attachments/20061119/17b457cd/signature-0001.pgp


More information about the dbus mailing list