aboutsummaryrefslogtreecommitdiff
path: root/contrib/netbsd-tests/include
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2014-10-02 22:33:35 +0000
committerMark Johnston <markj@FreeBSD.org>2014-10-02 22:33:35 +0000
commit486de25d468f7125e1659aaa3f9bcb3484702ebd (patch)
tree6a9a392c397696b10e12d51b75044ec4f7fbbb52 /contrib/netbsd-tests/include
parent35fe94304b31ea67a8881fa3ec6e787f8b0984a8 (diff)
downloadsrc-486de25d468f7125e1659aaa3f9bcb3484702ebd.tar.gz
src-486de25d468f7125e1659aaa3f9bcb3484702ebd.zip
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
Notes
Notes: svn path=/head/; revision=272455
Diffstat (limited to 'contrib/netbsd-tests/include')
0 files changed, 0 insertions, 0 deletions