Subject: Re: spec_poll vs. revoke
To: Jed Davis <email@example.com>
From: Bill Studenmund <firstname.lastname@example.org>
Date: 08/22/2006 20:29:03
Content-Type: text/plain; charset=us-ascii
On Tue, Aug 22, 2006 at 07:29:43PM -0400, Jed Davis wrote:
> spec_poll() appears to have a race condition against revocation of the
> device in question; I haven't been able to reproduce this in a useful
> manner, but I've twice had a host panic because it dereferenced a null
> v_specinfo due to someone's typing an EOF on the console (and even
> managed to get a core one of those times).
> I notice that spec_ioctl() was corrected for a similar problem in
> r1.83 of spec_vnops.c. So, is there any reason I shouldn't attempt to
> apply a similar fix to spec_poll()?
Please do so.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (NetBSD)
-----END PGP SIGNATURE-----