freebsd-skq/cddl/contrib
markj 765b323768 Have dtrace(1) handle SIGPIPE by cleaning up and exiting. Additionally,
install signal handlers when running in list mode (-l), and acknowledge
interrupts by cleaning up and exiting. This ensures that a command like

$ dtrace -l -P 'pid$target' -p <target PID> | less

won't cause the ptrace(2)d target process to be killed if less(1) exits
before all dtrace output is consumed.

Reported by:		Anton Yuzhaninov <citrin+bsd@citrin.ru>
Differential Revision:	https://reviews.freebsd.org/D880
Reviewed by:		rpaulo
MFC after:		1 month
Sponsored by:		EMC / Isilon Storage Division
2014-10-02 22:33:35 +00:00
..
dtracetoolkit Update shellsnoop to work on FreeBSD. 2014-07-31 23:19:01 +00:00
opensolaris Have dtrace(1) handle SIGPIPE by cleaning up and exiting. Additionally, 2014-10-02 22:33:35 +00:00