From owner-cvs-src-old@FreeBSD.ORG Sun Oct 12 10:03:57 2008 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52EA31065687 for ; Sun, 12 Oct 2008 10:03:57 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 3FE6E8FC1F for ; Sun, 12 Oct 2008 10:03:57 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id m9CA3vWw027437 for ; Sun, 12 Oct 2008 10:03:57 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id m9CA3vrr027436 for cvs-src-old@freebsd.org; Sun, 12 Oct 2008 10:03:57 GMT (envelope-from rwatson@repoman.freebsd.org) Message-Id: <200810121003.m9CA3vrr027436@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rwatson@repoman.freebsd.org using -f From: Robert Watson Date: Sun, 12 Oct 2008 10:03:11 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/sys/fs/portalfs portal_vnops.c src/sys/kern uipc_usrreq.c src/sys/sys un.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2008 10:03:57 -0000 rwatson 2008-10-12 10:03:11 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/fs/portalfs portal_vnops.c sys/kern uipc_usrreq.c sys/sys un.h Log: SVN rev 183795 on 2008-10-12 10:03:11Z by rwatson Merge r183572, r173649, r183650, r183690, and r183764 from head to stable/7: Further minor cleanups to UNIX domain sockets: - Staticize and locally prototype functions uipc_ctloutput(), unp_dispose(), unp_init(), and unp_externalize(), none of which have been required outside of uipc_usrreq.c since uipc_proto.c was removed. - Remove stale prototype for uipc_usrreq(), which has not existed in the code since 1997 - Forward declare and staticize uipc_usrreqs structure in uipc_usrreq.c and not un.h. - Comment on why uipc_connect2() is still non-static -- it is used directly by fifofs. - Remove stale comments, tidy up whitespace. Use soconnect2() rather than directly invoking uipc_connect2() to interconnect two UNIX domain sockets. Now that portalfs doesn't directly invoke uipc_connect2(), make it a static symbol. Remove stale comment (and XXX saying so) about why we zero the file descriptor pointer in unp_freerights: we can no longer recurse into unp_gc due to unp_gc being invoked in a deferred way, but it's still a good idea. Remove stale comment: while uipc_connect2() was, until recently, not static so it could be used by fifofs (actually portalfs), it is now static. Submitted by: kensmith Approved by: re (kensmith) Revision Changes Path 1.73.2.1 +1 -1 src/sys/fs/portalfs/portal_vnops.c 1.206.2.6 +15 -31 src/sys/kern/uipc_usrreq.c 1.29.10.1 +2 -16 src/sys/sys/un.h