Subject: Re: IOCTL implementation and kernel/userland addresses
To: Frank van der Linden <fvdl@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-kern
Date: 02/07/2005 19:40:36
On Mon, Feb 07, 2005 at 10:01:14AM -0800, Bill Studenmund wrote:
> > 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 ?

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--