Subject: Re: kauth and sleeping [Re: CVS commit: src/sys/kern]
To: Andrew Doran <ad@NetBSD.org>
From: Jason Thorpe <firstname.lastname@example.org>
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).
We can't really remove the "no sleep" restriction from kauth, because
listeners could be in userspace.