Date: Mon, 29 May 2006 10:20:13 GMT From: Maxim Konovalov <maxim@macomnet.ru> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/98064: Crash with FIFOs (named pipes) and truncate() Message-ID: <200605291020.k4TAKDJn093564@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/98064; it has been noted by GNATS. From: Maxim Konovalov <maxim@macomnet.ru> To: Bruce Evans <bde@zeta.org.au> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605291020.k4TAKDJn093564>