Subject: Re: IOCTL implementation and kernel/userland addresses
To: None <wrstuden@netbsd.org>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-kern
Date: 02/14/2005 12:51:07
> > > > Would proc still be NULL if the IOCTL is called from a kernel thread ?
> > > 
> > > We're making the semantics of such a call up as we go along. However I 
> > > think that passing proc == NULL if the secondary addresses are in kernel 
> > > space is reasonable.
> > 
> > Won't this cause problems if the ioctl wants to sleep ?
> 
> Hmm.... Yes.

what's a problem if it sleeps?

YAMAMOTO Takashi