Subject: Re: __copy_tofrom_user fails on unaligned read faults

From: Dan Malek <[email-masked]>
Date: Thu, 21 Nov 2002 17:27:53 -0500

Dale Farnsworth wrote:

> The 16-byte copy is aligned on the destination address.
> It is unaligned with respect to the source address.

I see, so do the semantics of a copy_to/from allow this behavior?
If you still return an error, how does the caller know how many
bytes were transferred?  I always thought if you handled a SEG/BUS
fault exception the contents of the buffer were undefined.

	-- Dan

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/