Date: Wed, 15 Nov 2006 12:43:46 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/tools/regression/sockets/unix_sendtorace Makefile unix_sendtorace.c Message-ID: <200611151243.kAFChkwr051892@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2006-11-15 12:43:46 UTC
FreeBSD src repository
Added files:
tools/regression/sockets/unix_sendtorace Makefile
unix_sendtorace.c
Log:
Add a short regression test to try to exercise races in the non-atomic
nature of implied connect via sendto(). Oddly, uipc_usrreq.c implements
this for stream sockets, but doesn't set the flag in its protocol
definition so that it can actually be used. As such, the stream test is
implemented but doesn't run for now.
Revision Changes Path
1.1 +7 -0 src/tools/regression/sockets/unix_sendtorace/Makefile (new)
1.1 +212 -0 src/tools/regression/sockets/unix_sendtorace/unix_sendtorace.c (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611151243.kAFChkwr051892>
