Subject: Re: kcopy()
To: Eduardo Horvath <firstname.lastname@example.org>
From: Andrew Brown <email@example.com>
Date: 12/20/2003 22:37:04
>> 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
oh, because i have a third pointer (to a struct lwp) that will be null
(or not null) if the second pointer is into kernel space (or user
|-----< "CODE WARRIOR" >-----|
firstname.lastname@example.org * "ah! i see you have the internet
email@example.com (Andrew Brown) that goes *ping*!"
firstname.lastname@example.org * "information is power -- share the wealth."