[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

memcpy in userspace?



Hi,

As a followup to my previous post, my problem would be solved if there is some way of copying data from a userspace virtual memory location to another userspace location.

I've seen a function called copy_in_user(), but that hasn't been implemented for x86 (only for x86-64, arm and mips).

I can't seem to use memcpy(), the kernel crashes with eip=0x0. Not surprising though, as I pass raw virtual userspace addresses to the function.

Thanks in advance!

--
Anant

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ