Date: Mon, 19 Jun 2000 17:00:02 -0700 (PDT) From: David Greenman <dg@root.com> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/19389: sendfile(2) Message-ID: <200006200000.RAA70144@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/19389; it has been noted by GNATS.
From: David Greenman <dg@root.com>
To: ras@e-gerbil.net
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: kern/19389: sendfile(2)
Date: Mon, 19 Jun 2000 16:48:20 -0700
> Deleting a file while doing a sendfile(2) on it results in
> kernel panic. Non-priv'd users can panic box.
This is a case that I've specifically tested for in the past, so I'm a bit
surprised to see this bug report. sendfile(2) holds a vnode reference to the
file (via the open file descriptor), which should prevent bad things from
happening when the file is unlinked (the actual deletion is defered until
all internal references have been dropped). Is it possible that there is more
involved than just deleting the file? Can you provide a traceback?
-DG
David Greenman
Co-founder, The FreeBSD Project - http://www.freebsd.org
Manufacturer of high-performance Internet servers - http://www.terasolutions.com
Pave the road of life with opportunities.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006200000.RAA70144>
