Subject: Re: IOCTL implementation and kernel/userland addresses
To: None <tech-kern@NetBSD.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-kern
Date: 02/14/2005 00:55:57
>>>> 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?

How does it tell which process should be put to sleep?

What if it's being called from a non-process context?

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse@rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B