This is the mail archive of the cygwin-patches@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: Egor's daemon


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



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