1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-30 12:04:07 +00:00
freebsd/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 Don't include sys/user.h merely for its side-effect of recursively 2004-11-27 06:51:39 +00:00