linux-mips
[Top] [All Lists]

RE: How to access kernel memory?

To: "'Zhang Fuxin'" <fxzhang@ict.ac.cn>
Subject: RE: How to access kernel memory?
From: "Siders, Keith" <keith_siders@toshibatv.com>
Date: Tue, 18 Sep 2001 09:59:07 -0500
Cc: linux-mips@oss.sgi.com
Sender: owner-linux-mips@oss.sgi.com
I have just the opposite requirement. I need to allow any running process
and its threads to be "hot-patched" with executable code. I know you're
thinking "why?". I can't tell you that. I can only say  it's a firm
requirement, and I could use some helpful ideas.

Keith 

-> -----Original Message-----
-> From: Zhang Fuxin [mailto:fxzhang@ict.ac.cn]
-> Sent: Tuesday, September 18, 2001 9:53 AM
-> To: han han
-> Cc: linux-mips@oss.sgi.com
-> Subject: Re: How to access kernel memory?
-> 
-> 
-> hi,han han,
->    There are several ways.For example:
->    1.You can create a character device , implement its mmap function
-> to map the memory block you allcated.This can be done in a little
-> kernel module.There are some sample code before.
->    2.via /dev/mem,/dev/kmem etc
->    
-> 
-> 
-> 
-> 在 2001-09-18 07:35:00 you wrote:
-> >Hi, All,
-> >
-> >I allocated a block of memory in the kernel space. But
-> >I don't know how to directly access kernel space from
-> >user space. Anyone can help me?
-> >
-> >Thanks in advance.
-> >
-> >piggie
-> >
-> >
-> >__________________________________________________
-> >Terrorist Attacks on U.S. - How can you help?
-> >Donate cash, emergency relief information
-> >http://dailynews.yahoo.com/fc/US/Emergency_Information/
-> 
-> Regards
->             Zhang Fuxin
->             fxzhang@ict.ac.cn
-> 

<Prev in Thread] Current Thread [Next in Thread>