Date: Mon, 19 Jun 2000 17:00:03 -0700 (PDT) From: "Richard A. Steenbergen" <ras@e-gerbil.net> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/19389: sendfile(2) Message-ID: <200006200000.RAA70149@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: "Richard A. Steenbergen" <ras@e-gerbil.net> To: David Greenman <dg@root.com> Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: kern/19389: sendfile(2) Date: Mon, 19 Jun 2000 19:59:30 -0400 (EDT) On Mon, 19 Jun 2000, David Greenman wrote: > > 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? I wish I had let the coredump go. Kernel panic from ncftpd sendfile, immediately after I rm -rf'd the files in another console. -- Richard A Steenbergen <ras@e-gerbil.net> http://www.e-gerbil.net/humble PGP Key ID: 0x138EA177 (67 29 D7 BC E8 18 3E DA B2 46 B3 D8 14 36 FE B6) 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.RAA70149>