Date: Tue, 14 Mar 2006 19:32:03 +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: <200603141932.k2EJW352077656@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603141932.k2EJW352077656>