Date: Sun, 23 Jul 2006 12:01:14 +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/kern uipc_usrreq.c src/sys/sys unpcb.h Message-ID: <200607231201.k6NC1EtW094916@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2006-07-23 12:01:14 UTC FreeBSD src repository Modified files: sys/kern uipc_usrreq.c sys/sys unpcb.h Log: 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.178 +34 -16 src/sys/kern/uipc_usrreq.c 1.20 +8 -0 src/sys/sys/unpcb.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607231201.k6NC1EtW094916>