This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: Patch to pass file descriptors
- From: Corinna Vinschen <vinschen at redhat dot com>
- To: cygdev <cygwin-developers at cygwin dot com>
- Date: Tue, 2 Jul 2002 11:32:33 +0200
- Subject: Re: Patch to pass file descriptors
- References: <Pine.LNX.4.33.0207011735010.2716-100000@this>
- Reply-to: cygdev <cygwin-developers at cygwin dot com>
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
definition?
> Also should this discussion be moved to cygwin-developers?
Probably. I moved it over.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.