Patch to pass file descriptors

Corinna Vinschen
Tue Jul 2 02:32:00 GMT 2002

On Mon, Jul 01, 2002 at 05:36:21PM -0400, David Euresti wrote:
>         I'm sure other people will want full BSD semantics also so why not
> allow them to have it if the cygserver is running.

Is your patch actually providing full BSD semantics?  Regardless that
your patch doesn't pass descriptors other than pipes and sockets,
it only allows to pass one descriptor while BSD allows to pass as
much descriptors as the maximum size of ancillary data limits to.

Another question to talk about first is, should we actually stick with
the old msg_accrights/msg_accrightslen members in struct msghdr or
should we switch over to the "modern" style msg_control/msg_controllen

>         Also should this discussion be moved to cygwin-developers?

Probably.  I moved it over.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                      
Red Hat, Inc.

More information about the Cygwin-developers mailing list