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

List:       cygwin-patches
Subject:    Re: Egor's daemon
From:       Robert Collins <robert.collins () itdomain ! com ! au>
Date:       2001-09-12 22:30:00
[Download RAW message or body]

On Thu, 2001-09-13 at 02:20, egor duda wrote:

> CF> If it is using non-exported functions from cygwin then we have to design
> CF> how the two entities communicate with each other.
> 
> daemon itself doesn't use non-exported functions. Actually, it doesn't
> use cygwin1.dll at all -- it should be built with -mno-cygwin

"didn't" :]. I altered it to link to cygwin1.dll for a couple of
reasons.
1) Things like syslog are immediately available for us.
2) We get a little bit of reassurance on the marshalling side that
things will be built the same.
3) I wanted to use AF_UNIX sockets as a transport layer, (because with
SSPI they can do inmpersonation for NT) and duplicating that code from
cygwin1.dll and attempting to be compatible through any and all changes
didn't make sense to me. 

Rob

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

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