[PATCH v2 0/6] Some AF_UNIX fixes

Ken Brown kbrown@cornell.edu
Sun Oct 4 16:49:42 GMT 2020


I'm about to push these.  Corinna, please check them when you return.
The only difference between v2 and v1 is that there are a few more
fixes.

I'm trying to help get the AF_UNIX development going again.  I'm
mostly working on the topic/af_unix branch.  But when I find bugs that
exist on master, I'll push those to master and then merge master to
topic/af_unix.

So far what I have on that branch locally (to be pushed shortly) is an
implementation of fhandler_socket_unix::read, which I've tested by
running the srver/client programs from Section 57.2 of Kerrisk's book,
"The Linux Programming Interface".

Ken Brown (6):
  Cygwin: AF_UNIX: use FILE_OPEN_REPARSE_POINT when needed
  Cygwin: fix handling of known reparse points that are not symlinks
  Cygwin: always recognize AF_UNIX sockets as reparse points
  Cygwin: AF_UNIX: socket: set the O_RDWR flag
  Cygwin: AF_UNIX: listen_pipe: check for STATUS_SUCCESS
  Cygwin: AF_UNIX: open_pipe: call recv_peer_info

 winsup/cygwin/fhandler.cc             | 11 ++++++++--
 winsup/cygwin/fhandler_socket_unix.cc | 31 +++++++++++++++++----------
 winsup/cygwin/path.cc                 | 27 +++++++++++++++--------
 winsup/cygwin/security.cc             |  8 +++++--
 4 files changed, 53 insertions(+), 24 deletions(-)

-- 
2.28.0



More information about the Cygwin-patches mailing list