freebsd-skq/tools
Robert Watson d0e723a10c Add a regresion test to determine whether or not a file descriptor is
allocated in a fork(2)-inheritable way at the beginning or end of an
accept(2) system call.  This test creates a test thread and blocks it
in accept(2), then forks a child process which tests to see if the
next available file descriptor is defined or not (EBADF vs EINVAL for
ftruncate(2)).

This detects a regression introduced during the network stack locking
work, in which a very narrow race during which fork(2) from one
thread during accept(2) in a second thread lead to an extra inherited
file descriptor turned into a very wide race ensuring that a
descriptor was leaked into the child even though it hadn't been
returned.

PR:		kern/130348
2009-02-11 13:44:27 +00:00
..
build add missing options 2008-09-23 16:15:42 +00:00
debugscripts o Correct comments: remove a reference to non-existent gdbinit.9 man page; 2006-05-22 07:12:25 +00:00
diag
kerneldoc Remove ISDN4BSD (I4B) from HEAD as it is not MPSAFE and 2008-05-26 10:40:09 +00:00
KSE
LibraryReport
regression Add a regresion test to determine whether or not a file descriptor is 2009-02-11 13:44:27 +00:00
sched - Update my copyright. 2009-01-22 06:21:30 +00:00
test This is simple testing program for revision 185647. 2008-12-06 13:23:53 +00:00
tools Add files to build i386/amd64 bootable rescue ISO images using the 2009-02-11 12:15:35 +00:00
install.sh
make_libdeps.sh - Add cddl/lib to the list of library directories. 2007-10-01 18:11:43 +00:00
README

$FreeBSD$

This directory tree contains tools used for the maintenance and
testing of FreeBSD.  There is no toplevel Makefile structure since
these tools are not meant to be built as part of the standard system,
though there may be individual Makefiles in some of the subdirs.

Please read the README files in the subdirs for further information.