Date: Tue, 30 Mar 2004 17:41:30 -0800 (PST) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/fifofs fifo_vnops.c src/sys/fs/portalfs portal_vnops.c src/sys/kern uipc_usrreq.c src/sys/sys un.h Message-ID: <200403310141.i2V1fUF5092792@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2004/03/30 17:41:30 PST FreeBSD src repository Modified files: sys/fs/fifofs fifo_vnops.c sys/fs/portalfs portal_vnops.c sys/kern uipc_usrreq.c sys/sys un.h Log: Export uipc_connect2() from uipc_usrreq.c instead of unp_connect2(), and consume that interface in portalfs and fifofs instead. In the new world order, unp_connect2() assumes that the unpcb mutex is held, whereas uipc_connect2() validates that the passed sockets are UNIX domain sockets, then grabs the mutex. NB: the portalfs and fifofs code gets down and dirty with UNIX domain sockets. Maybe this is a bad thing. Revision Changes Path 1.92 +1 -1 src/sys/fs/fifofs/fifo_vnops.c 1.61 +1 -1 src/sys/fs/portalfs/portal_vnops.c 1.119 +3 -2 src/sys/kern/uipc_usrreq.c 1.26 +1 -1 src/sys/sys/un.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403310141.i2V1fUF5092792>