From owner-cvs-all@FreeBSD.ORG Wed Apr 13 16:42:49 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0EB216A4CE; Wed, 13 Apr 2005 16:42:49 +0000 (GMT) Received: from barton.dreadbsd.org (massena-4-82-67-196-50.fbx.proxad.net [82.67.196.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9565143D49; Wed, 13 Apr 2005 16:42:48 +0000 (GMT) (envelope-from antoine@massena-4-82-67-196-50.fbx.proxad.net) Received: from barton.dreadbsd.org (localhost [127.0.0.1]) by barton.dreadbsd.org (8.13.3/8.13.1) with ESMTP id j3DGglYW090858; Wed, 13 Apr 2005 18:42:47 +0200 (CEST) (envelope-from antoine@massena-4-82-67-196-50.fbx.proxad.net) Received: (from antoine@localhost) by barton.dreadbsd.org (8.13.3/8.13.1/Submit) id j3DGgkEW090857; Wed, 13 Apr 2005 18:42:46 +0200 (CEST) (envelope-from antoine) Date: Wed, 13 Apr 2005 18:42:46 +0200 From: Antoine Brodin To: "Matthew N. Dodd" Message-Id: <20050413184246.19212b84.antoine.brodin@laposte.net> In-Reply-To: <200504130001.j3D01kuD081602@repoman.freebsd.org> References: <200504130001.j3D01kuD081602@repoman.freebsd.org> X-Mailer: Sylpheed version 1.9.8 (GTK+ 2.6.7; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/share/man/man4 unix.4 src/sys/sys socket.h un.h unpcb.h src/sys/kern uipc_usrreq.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2005 16:42:50 -0000 "Matthew N. Dodd" wrote: > mdodd 2005-04-13 00:01:46 UTC > > FreeBSD src repository > > Modified files: > share/man/man4 unix.4 > sys/sys socket.h un.h unpcb.h > sys/kern uipc_usrreq.c > Log: > Implement unix(4) socket options LOCAL_CREDS and LOCAL_CONNWAIT. > > - Add unp_addsockcred() (for LOCAL_CREDS). > - Add an argument to unp_connect2() to differentiate between > PRU_CONNECT and PRU_CONNECT2. (for LOCAL_CONNWAIT) > > Obtained from: NetBSD (with some changes) > > Revision Changes Path > 1.11 +50 -0 src/share/man/man4/unix.4 > 1.152 +105 -15 src/sys/kern/uipc_usrreq.c > 1.88 +19 -0 src/sys/sys/socket.h > 1.29 +3 -1 src/sys/sys/un.h > 1.19 +2 -0 src/sys/sys/unpcb.h I'm not sure it's safe to sooptcopyout/sooptcopyin while holding the unp mutex in uipc_ctloutput. It can fault. Cheers, Antoine