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

List:       freedesktop-dbus
Subject:    Re: Win32 port
From:       Thiago Macieira <thiago.macieira () trolltech ! com>
Date:       2006-06-26 9:00:06
Message-ID: 200606261100.13251.thiago.macieira () trolltech ! com
[Download RAW message or body]


Peter Kümmel wrote:
>> 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.

Is this intended to be a permanent solution? I.e., will dbus always link 
to kdewin32 (or a similar support library) on Windows?

If not, I'd rather not perpetuate this in the interface as well.

>> 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?

This means we have to convert UID → SID somewhere along the line if we 
want to talk to other applications or system calls on Windows. That's why 
I'm asking for the native representation.

-- 
Thiago José Macieira - thiago.macieira AT trolltech.com
Trolltech ASA - Sandakerveien 116, NO-0402 Oslo, Norway

[Attachment #3 (application/pgp-signature)]

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

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