Subject: Re: kcopy()
To: Andrew Brown <atatat@atatdot.net>
From: Eduardo Horvath <eeh@NetBSD.org>
List: tech-kern
Date: 12/21/2003 03:19:48
On Sat, Dec 20, 2003 at 05:32:35PM -0500, Andrew Brown wrote:
> i've got two pointers.
>
> one may or may not be a valid kernel pointer. i can't tell.
>
> the other may be a pointer into userspace or a pointer into kernel
> space. i can tell which kind it is, and if it's the latter, i'm
> perfectly willing to assume that it's valid.
I give up. How can you tell if a pointer is to userspace or kernel
space?
Eduardo