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 <[EMAIL PROTECTED]> wrote: > Hi > > On Thu, Feb 28, 2008 at 3:58 AM, Runemaster <[EMAIL PROTECTED]> > 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. >
