Re: [RFC] [PATCH] Add memcpy32 function

Andi Kleen
2005-12-28T11:02:03Z

Bryan O'Sullivan <bos@pathscale.com> writes:

> In response to the comments that followed Roland Dreier posting our
> InfiniPath driver for review last week, we've been making some cleanups
> to our driver code.

What irritates me is that the original author said this copy
would happen from user space in ipath. In that case you would need
exception handling for all memory accesses to return EFAULT,
otherwise everybody can crash the kernel.

-Andi