Re: copy_from_user/copy_to_user question

Andi Kleen
2005-12-03T18:03:49Z

Steven Rostedt <rostedt@goodmis.org> 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