freebsd-skq/tools
yar af6cce5172 Fix and extend the -j option to pkill/pgrep WRT the jail
wildcard specifications.  Earlier the only wildcard syntax
was "-j 0" for "any jail".  There were at least
two shortcomings in it:  First, jail ID 0 was abused; it
meant "no jail" in other utils, e.g., ps(1).  Second, it
was impossible to match processed not in jail, which could
be useful to rc.d developers.  Therefore a new syntax is
introduced: "-j any" means any jail while "-j none" means
out of jail.  The old syntax is preserved for compatibility,
but now it's deprecated because it's limited and confusing.

Update the respective regression tests.  While I'm here,
make the tests more complex but sensitive:  Start several
processes, some in jail and some out of jail, so we can
detect that only the right processes are killed by pkill
or matched by pgrep.

Reviewed by:	gad, pjd
MFC after:	1 week
2006-11-23 11:55:17 +00:00
..
build Add a build option to support WITH_CDDL and WITHOUT_CDDL, defaulting 2006-11-01 09:02:11 +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 Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
kerneldoc Fix build when .CURDIR != .OBJDIR. 2006-08-02 15:24:59 +00:00
KSE Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
LibraryReport
regression Fix and extend the -j option to pkill/pgrep WRT the jail 2006-11-23 11:55:17 +00:00
sched Teach schedgraph how to parse KTR_CRITICAL records. critical_enter/exit 2005-11-21 21:27:40 +00:00
test Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
tools Remove references to mount_devfs, mount_fdescfs, mount_linprocfs, 2006-11-22 00:26:55 +00:00
install.sh Arguments to options aren't necessarily separated with whitespace. 2004-07-07 09:38:14 +00:00
make_libdeps.sh Send the pcvt(4) driver off to retirement. 2006-05-17 09:33:15 +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.