freebsd-dev/cddl/contrib/opensolaris
Mark Johnston 486de25d46 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
..
cmd Have dtrace(1) handle SIGPIPE by cleaning up and exiting. Additionally, 2014-10-02 22:33:35 +00:00
common MFV r269223: 2014-07-29 08:42:22 +00:00
head MFV r270197: 2014-08-22 22:13:36 +00:00
lib Remove an incorrect close(2) call that was added in r271413. 2014-09-22 21:09:30 +00:00
tools/ctf
OPENSOLARIS.LICENSE