Re: memcpy in userspace?

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

 



Hi Martin,

Thanks for the response!

you can only use memcpy if you have the source and destination physical address. If you don´t know them, you can use access_process_vm to copy from the process A to a kernel buffer, and finally from this kernel buffer to process B address space.

Actually, what I want to do is *much* simpler. I just want to copy stuff from process A's address space to a different place in process A's address space! Do I still have to copy it over to a kernel buffer before moving it back?

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



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux