Re: copy_from_user/copy_to_user question

From: Andi Kleen
Date: Sat Dec 03 2005 - 13:11:22 EST


Steven Rostedt <rostedt@xxxxxxxxxxx> writes:
>
> I haven't dealt (yet) with the copy_user of x86_64. Is there a problem
> when one tries to copy to/from a 32 bit address while in a 64 bit
> address space?

No problem, except on UML/x86-64 which has fully separate address spaces.

Architectures where it doesn't work include s390,m68k,pa-risc,sparc64,
i386 with 4/4 patches among others.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/