Subject: Re: kauth and sleeping [Re: CVS commit: src/sys/kern]
To: Andrew Doran <>
From: Jason Thorpe <>
List: tech-kern
Date: 07/25/2006 09:43:15
On Jul 24, 2006, at 5:14 AM, Andrew Doran wrote:

> Sleeping with the proclist lock held is not something that we  
> should do. So
> I can see two options: (a) modify the callers so they do not have  
> to hold
> the lock (not easy) or (b) revert this change until we have an  
> incentive for
> kauth to sleep in this case (easy).
> Comments?

We can't really remove the "no sleep" restriction from kauth, because  
listeners could be in userspace.

-- thorpej