Subject: Re: kern/8142: rnd driver uses splsoftclock() incorrectly
To: None <sommerfeld@orchard.arlington.ma.us>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: netbsd-bugs
Date: 08/04/1999 08:27:47
On Wed, 4 Aug 1999 11:50:34 GMT
sommerfeld@orchard.arlington.ma.us (Bill Sommerfeld) wrote:
> also, ptcpoll() in tty_pty.c seems to make the same potential
> mistake (though that may be less problematic).
This one is probably perfectly safe, is poll routines are done in
user context always.
> Find a *real* spl level at which to run the random
> pool.
If the intent is to block timeouts, splclock() is what you want.
-- Jason R. Thorpe <thorpej@nas.nasa.gov>