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] |
Other format: | [Raw text] |
Hello, I finally am able to send in the patch to pass file descriptors. There's still some work to be done like adding security and such, but otherwise it works. There are two new files cygserver_handle.cc and cygserver_handle.h these go into src/winsup/cygwin The testfd.c is a test file. Compile and run to see a process fork and pass a file descriptor. It also shows how to use sendmsg to pass a descriptor. Feel free to comment. Thanks, David
Attachment:
ChangeLog
Description: Text document
Attachment:
cygserver_handle.h
Description: Text document
Attachment:
cygserver_handle.cc
Description: Text document
Attachment:
fdpass.patch
Description: Text document
Attachment:
testfd.c
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |