1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-26 16:18:31 +00:00
freebsd/cddl
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
..
compat/opensolaris
contrib Have dtrace(1) handle SIGPIPE by cleaning up and exiting. Additionally, 2014-10-02 22:33:35 +00:00
lib Revert r272189, the committed version was an old version and breaks build. 2014-09-27 09:39:19 +00:00
sbin
tests
usr.bin
usr.sbin Build plockstat if WITH_PLOCKSTAT is defined. 2014-09-23 18:22:40 +00:00
Makefile
Makefile.inc