From owner-cvs-src@FreeBSD.ORG Mon Mar 20 14:25:25 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22D4716A522; Mon, 20 Mar 2006 14:25:25 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id AECFD43D9A; Mon, 20 Mar 2006 14:25:19 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k2KEPJsc010148; Mon, 20 Mar 2006 14:25:19 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k2KEPJMc010147; Mon, 20 Mar 2006 14:25:19 GMT (envelope-from rwatson) Message-Id: <200603201425.k2KEPJMc010147@repoman.freebsd.org> From: Robert Watson Date: Mon, 20 Mar 2006 14:25:19 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/usr.bin/ktrace ktrace.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Mar 2006 14:25:25 -0000 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