opnsense-src/tools
Jonathan Anderson 0136244a52 Ensure that kqueue is not inherited across fork().
Modify the existing unit test (from libkqueue) which already exercises process events via
fork() and kill(). Now, the child process simply checks that the 'kqfd' descriptor is invalid.

Some minor modifications were required to make err() work correctly. It seems that this test
was imported using the output of a configure script, but config.h was not included in key
places, nor was its syntax correct (need '#define HAVE_FOO 1' rather than '#define HAVE_FOO').

Finally, change main() to run the "proc" suite by default, but widened the '#if TODO' in
proc.c to include the non-functioning test event_trigger().

Approved by: mentor (rwatson), re (Capsicum blanket)
Sponsored by: Google Inc
2011-07-07 18:07:03 +00:00
..
build Add WITHOUT_UTMPX switch to the build system. 2011-06-17 21:30:21 +00:00
debugscripts Fix a couple of typos. 2010-07-30 11:58:18 +00:00
diag Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
kerneldoc - Update config to doxygen 1.5.2 (I use this with 1.5.9). 2009-08-24 13:10:55 +00:00
KSE Use, in uncovered part, the END() macro in order to improve debugging. 2009-05-25 14:37:10 +00:00
LibraryReport $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
regression Ensure that kqueue is not inherited across fork(). 2011-07-07 18:07:03 +00:00
sched - Update my copyright. 2009-01-22 06:21:30 +00:00
test Fix warnings and style(9) issues. 2011-03-11 17:33:31 +00:00
tools - Need to respect the module name and the USB mode when accumulating device ID's. 2011-06-25 15:22:44 +00:00
install.sh Teach tools/install.sh the -d directory mode. 2011-02-22 08:07:17 +00:00
make_libdeps.sh Actualize. 2010-01-25 14:17:36 +00:00
README - Add $FreeBSD$ 2000-08-13 14:46:31 +00:00

$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.