Date: Sun, 12 Oct 2008 10:03:11 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/fs/portalfs portal_vnops.c src/sys/kern uipc_usrreq.c src/sys/sys un.h Message-ID: <200810121003.m9CA3vrr027436@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810121003.m9CA3vrr027436>