cvs commit: src/sys/sys unpcb.h

Robert Watson rwatson at FreeBSD.org
Tue May 8 10:16:57 UTC 2007


rwatson     2007-05-08 10:16:57 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/sys              unpcb.h 
  Log:
  Merge unpcb.h:1.20 from HEAD to RELENG_6:
  
    Add two new unpcb flags, UNP_BINDING and UNP_CONNECTING, which will be
    used to mark UNIX domain sockets as being in the process of binding or
    connecting.  Use these to prevent simultaneous bind or connect
    operations by multiple threads or processes on the same socket at the
    same time, which closes race conditions present in the UNIX domain
    socket implementation since inception.
  
  Revision  Changes    Path
  1.19.2.1  +8 -0      src/sys/sys/unpcb.h


More information about the cvs-src mailing list