kern/98064: Crash with FIFOs (named pipes) and truncate()

Maxim Konovalov maxim at macomnet.ru
Mon May 29 03:20:14 PDT 2006


The following reply was made to PR kern/98064; it has been noted by GNATS.

From: Maxim Konovalov <maxim at macomnet.ru>
To: Bruce Evans <bde at zeta.org.au>
Cc: bug-followup at 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


More information about the freebsd-bugs mailing list