Subject: Re: kern/8142: rnd driver uses splsoftclock() incorrectly
To: None <>
From: Jason Thorpe <>
List: netbsd-bugs
Date: 08/04/1999 08:27:47
On Wed, 4 Aug 1999 11:50:34 GMT (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 <>