cvs commit: src/usr.bin/ktrace ktrace.c
Robert Watson
rwatson at FreeBSD.org
Tue Mar 14 19:32:04 UTC 2006
rwatson 2006-03-14 19:32:03 UTC
FreeBSD src repository
Modified files:
usr.bin/ktrace ktrace.c
Log:
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
Revision Changes Path
1.21 +4 -1 src/usr.bin/ktrace/ktrace.c
More information about the cvs-src
mailing list