cvs commit: src/usr.bin/ktrace ktrace.c
Robert Watson
rwatson at FreeBSD.org
Mon Mar 20 14:25:25 UTC 2006
rwatson 2006-03-20 14:25:19 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
usr.bin/ktrace ktrace.c
Log:
Merge ktrace.c:1.21 from HEAD to RELENG_6:
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.
Reported by: kris
PR: 94278
Approved by: re (scottl)
Revision Changes Path
1.20.12.1 +4 -1 src/usr.bin/ktrace/ktrace.c
More information about the cvs-src
mailing list