Subject: Re: kauth sleepability (Re: CVS commit: src/share/man/man9)
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: Elad Efrat <elad@NetBSD.org>
List: tech-kern
Date: 07/22/2006 12:06:43
YAMAMOTO Takashi wrote:

> comioctl() calls kauth_authorize_action with a spinlock (COM_LOCK) held,
> thus not safe to sleep.  it's what we wanted to detect.

attached diff fixes the problem. i'm going to commit it, add the
assertion in kauth_authorize_action() and update the man-page.

thanks,

-e.

-- 
Elad Efrat