[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-dbus
Subject: Re: Win32 port
From: Peter_Kümmel <syntheticpp () gmx ! net>
Date: 2006-06-26 8:44:23
Message-ID: 449F9E67.5040501 () gmx ! net
[Download RAW message or body]
Thiago Macieira wrote:
> Peter Kümmel wrote:
>> But do we need the string representation when we have a 2-way
>> association between the windows sid and a unique integer?
>>
>> When we have such a mapping we could implement getuid() in kdewin32 and
>> dbus must not care about it.
>
> Not all Windows code links to kdewin32. I'd rather we did NOT reimplement
> the getuid function in every single implementation.
Currently dbus links against kdewin32, so all windows code which uses dbus
also links against kdewin32. And kdewin32 has already a (incomplete) getuid
function.
> Besides, this completely defeats the purpose of identifying the user that
> holds the connection open.
Doesn't we have the identifier of that user so we could get the sid from
the map?
> One thing, though, is that I've just realised the function is called
> GetConnectionUnixUser, so it is only meaningful in Unix context. So we
> can leave it, but I'd recommend adding a generic function too.
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic