Date: Mon, 20 Mar 2006 14:25:19 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/ktrace ktrace.c Message-ID: <200603201425.k2KEPJMc010147@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603201425.k2KEPJMc010147>
