From owner-cvs-src@FreeBSD.ORG Tue May 8 10:16:57 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6CFA416A402; Tue, 8 May 2007 10:16:57 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 478AC13C4BC; Tue, 8 May 2007 10:16:57 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l48AGvT5013082; Tue, 8 May 2007 10:16:57 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l48AGvcG013081; Tue, 8 May 2007 10:16:57 GMT (envelope-from rwatson) Message-Id: <200705081016.l48AGvcG013081@repoman.freebsd.org> From: Robert Watson Date: Tue, 8 May 2007 10:16:57 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/sys unpcb.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 May 2007 10:16:57 -0000 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