summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc/regex/t_regex_att.c
diff options
context:
space:
mode:
authormarkj <markj@FreeBSD.org>2014-10-02 22:33:35 +0000
committermarkj <markj@FreeBSD.org>2014-10-02 22:33:35 +0000
commit765b323768964937867b15f47061b42fe5cdd6f6 (patch)
tree6a9a392c397696b10e12d51b75044ec4f7fbbb52 /contrib/netbsd-tests/lib/libc/regex/t_regex_att.c
parentee3a69c54860820070777b50bba37436a083acef (diff)
downloadFreeBSD-src-765b323768964937867b15f47061b42fe5cdd6f6.zip
FreeBSD-src-765b323768964937867b15f47061b42fe5cdd6f6.tar.gz
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
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/regex/t_regex_att.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud