Date: Wed, 26 May 2010 10:46:03 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/tools/regression/sockets/unix_close_race Makefile unix_close_race.c Message-ID: <201005261046.o4QAkMSX024593@repoman.freebsd.org>
index | next in thread | raw e-mail
rwatson 2010-05-26 10:46:03 UTC
FreeBSD src repository
Added files:
tools/regression/sockets/unix_close_race Makefile
unix_close_race.c
Log:
SVN rev 208562 on 2010-05-26 10:46:03Z by rwatson
Add unix_close_race, a regresion test to catch ENOTCONN being returned
improperly from one of two instances of close(2) being called
simultaneously on both ends of a connected UNIX domain socket. The test
tool is slightly tweaked to improve failure modes, and while often does
trigger the problem, doesn't do so consistently due to the nature of the
race.
PR: kern/144061
Submitted by: Mikolaj Golub <to.my.trociny@gmail.com>
MFC after: 3 days
Revision Changes Path
1.1 +7 -0 src/tools/regression/sockets/unix_close_race/Makefile (new)
1.1 +132 -0 src/tools/regression/sockets/unix_close_race/unix_close_race.c (new)
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005261046.o4QAkMSX024593>
