From owner-freebsd-bugs@FreeBSD.ORG Mon May 29 10:20:14 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A2A1916A42F for ; Mon, 29 May 2006 10:20:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 577E143D55 for ; Mon, 29 May 2006 10:20:14 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k4TAKD5j093565 for ; Mon, 29 May 2006 10:20:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k4TAKDJn093564; Mon, 29 May 2006 10:20:13 GMT (envelope-from gnats) Date: Mon, 29 May 2006 10:20:13 GMT Message-Id: <200605291020.k4TAKDJn093564@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Maxim Konovalov Cc: Subject: Re: kern/98064: Crash with FIFOs (named pipes) and truncate() X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Maxim Konovalov List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 May 2006 10:20:14 -0000 The following reply was made to PR kern/98064; it has been noted by GNATS. From: Maxim Konovalov To: Bruce Evans Cc: bug-followup@freebsd.org Subject: Re: kern/98064: Crash with FIFOs (named pipes) and truncate() Date: Mon, 29 May 2006 14:16:31 +0400 (MSD) Hi Bruce, > I have used used the following fixes in this area for many years. They > make truncate() on a fifo and some other file types always succeed > instead of wandering off into UFS_TRUNCATE() (which is always (?) > ffs_truncate()) and tending to cause panics there. [...] Why doesn't RELENG_4 suffer from this? The code of ufs_setattr() is very similar there. -- Maxim Konovalov