Date: Tue, 8 May 2007 10:16:57 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys unpcb.h Message-ID: <200705081016.l48AGvcG013081@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705081016.l48AGvcG013081>
