This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [RFD]: Egor's proposal for a Cygwin server process


On Fri, Jun 01, 2001 at 12:06:16AM +1000, Robert Collins wrote:
> From: "egor duda" <deo@logos-m.ru>
> > CV> As I wrote in my previous mail, it's essential to be sure about
> > CV> the process which calls the server. Faking of pid, uid and gid
> > CV> must not be possible!
> >
> > something similar was done in my cygserver via
> > ImpersonateNamedPipeClient(). that's a clear benefit of named pipes
> > before shared memory.
> 
> This is where I'll pop up and say...
> COM provides benefits here: AFAIK it's got impersonation capabilities
> for NT, and AFAIK degrades gracefully on 9x.

Hmm, personally I would prefer using a Win32 interface like the
above (named pipes on NT, shared memory on 9x). Security doesn't
matter on 9x and the low level interfaces are typically faster
and (from my point of view) easier to understand. Anyway, if we
agree to use COM I wouldn't step back.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]