linux-mips
[Top] [All Lists]

Re: How to access kernel memory?

To: "Siders, Keith" <keith_siders@toshibatv.com>
Subject: Re: How to access kernel memory?
From: Daniel Jacobowitz <dan@debian.org>
Date: Tue, 18 Sep 2001 14:41:29 -0400
Cc: "'Zhang Fuxin'" <fxzhang@ict.ac.cn>, linux-mips@oss.sgi.com
In-reply-to: <7DF7BFDC95ECD411B4010090278A44CA1B72E5@ATVX>; from keith_siders@toshibatv.com on Tue, Sep 18, 2001 at 09:59:07AM -0500
References: <7DF7BFDC95ECD411B4010090278A44CA1B72E5@ATVX>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.3.16i
On Tue, Sep 18, 2001 at 09:59:07AM -0500, Siders, Keith wrote:
> 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.

You can probably do all you need in this case with ptrace() - the
existing ptrace will not be quite adequate for large data sets,
especially if you need some atomicity, but it should have all the
sample kernel code you need.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer

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