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
Robert Watson
rwatson at FreeBSD.org
Tue Mar 30 17:41:30 PST 2004
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
More information about the cvs-src
mailing list