Subject: Re: kcopy()
To: Andrew Brown <atatat@atatdot.net>
From: Matt Thomas <matt@3am-software.com>
List: tech-kern
Date: 12/19/2003 21:38:38
At 06:19 PM 12/19/2003, Andrew Brown wrote:
>my reading of the kcopy() man page made me think that i could pass it
>a "src" pointer and a "dst" pointer, and it would return EFAULT if
>either of the pointers were invalid.
>
>instead, i'm getting kernel panics.
>
>is there a better interface for copying from place to place when you
>don't know the exact disposition of the pointers (so i can't really
>use memcpy())?

Who is giving you pointers you can't trust?  That sounds like a broken
interface.


-- 
Matt Thomas                     email: matt@3am-software.com
3am Software Foundry              www: http://3am-software.com/bio/matt/
Cupertino, CA              disclaimer: I avow all knowledge of this message.