Subject: Re: kcopy()
To: Andrew Brown <>
From: Matt Thomas <>
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

Matt Thomas                     email:
3am Software Foundry              www:
Cupertino, CA              disclaimer: I avow all knowledge of this message.