freebsd-dev/cddl/contrib/opensolaris
Justin T. Gibbs cf4e0cc15e Orphaned processes that are being traced are killed by the
kernel.  Properly restore, continue, and detach from processes
being DTraced when DTrace exits with an error so the program
being inspected is not terminated.

cddl/contrib/opensolaris/cmd/dtrace/dtrace.c:
	In fatal(), the generic error handler, close the DTrace
	handle as is done in the "probe/script" error handler
	dfatal().  fatal() can be invoked after DTrace attaches
	to processes (e.g. a script specified by command line
	argument can't be found) and closing the handle will
	release them.

Submitted by:	Spectra Logic Corporation
Reviewed by:	rpaulo, gnn
2013-02-20 17:46:38 +00:00
..
cmd Orphaned processes that are being traced are killed by the 2013-02-20 17:46:38 +00:00
common MFV OpenSolaris DTrace userland bits. 2010-08-02 13:40:53 +00:00
head thr_create: new_thread_ID may be NULL 2011-10-21 13:54:58 +00:00
lib MFV r246388: 2013-02-10 19:32:55 +00:00
tools/ctf Maintain target's byte order for multi-byte fields in CTF structures. 2012-03-24 01:47:33 +00:00
OPENSOLARIS.LICENSE Now that we have CDDLed code in the tree, add CDDL license. 2007-09-23 07:04:50 +00:00