freebsd-dev/usr.bin/ktrace
Robert Watson 9e92c8d486 When opening a trace file, open O_NONBLOCK so that ktrace doesn't stall
if the target is a fifo.  After opening a trace file, check that it is a
regular file, and if not, return an error.

MFC after:	3 days
Reported by:	kris
PR:		94278
2006-03-14 19:32:03 +00:00
..
ktrace.1 Sort sections. 2005-01-18 13:43:56 +00:00
ktrace.c When opening a trace file, open O_NONBLOCK so that ktrace doesn't stall 2006-03-14 19:32:03 +00:00
ktrace.h
Makefile
subr.c