Hi...

On 2/6/08, Martin Candurra <[EMAIL PROTECTED]> wrote:
> I had to get some data from a user process within a kernel module. That
> process wasn't the "current" so the process pgd was not the same as the
> current pgd (for this reason I couldn't use copy_from_user function).
>
> I had been looking for some straight method (or function) to do it, but I
> could not find any. I finally did it translating the address  throw  the
> corresponding page directories and page tables, using the following code:

I remember...it's a function that is called by ptrace
(PEEK/POKE_DATA)...ehm...access_process_vm or something... Try to
check ptrace related kernel headers.

regards,

Mulyadi.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to