__copy_tofrom_user fails on unaligned read faults
Dan Malek
dan at embeddededge.com
Fri Nov 22 09:27:53 EST 2002
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/
More information about the Linuxppc-dev
mailing list