Re: How to modify an user process' memory mapping from a kernel thread

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

 



It seems that remotely modifying that process page table and address space to change mapping is a difficult task for me.
Is there any 'lazy' way like let that user process call do_mmap()? Thanks.

On Wed, Feb 27, 2008 at 10:14 PM, Mulyadi Santosa <mulyadi.santosa@xxxxxxxxx> wrote:
Hi

On Thu, Feb 28, 2008 at 3:58 AM, Runemaster <runemass.cse@xxxxxxxxx> wrote:
> Hi, I need to manipulate another user process' memory mapping within a
> kernel thread. Since I am not in that process' address space, I can not call
> functions like do_mmap() and exec_mmap() here. Is there any way to handle
> this problem? Thanks.

grab its mm_struct and its PGD, then start working from it?

regards,

Mulyadi.


[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