lkml.org 
[lkml]   [2011]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/4] MIPS Kprobes: Deny probes on ll/sc instructions
On Tue, Nov 08, 2011 at 03:26:42PM -0800, Victor Kamensky wrote:

> > s/insturctions/instructions/
> >
> > Not only is it a bad idea, it will probably make them fail 100% of the time.
> >
> > It is also an equally bad idea to place a probe between any LL and SC
> > instructions. How do you prevent that?
>
> As per below code comment we don't prevent that. There is no way to do
> that.

Similar to the way that the addresses of loads and stores from userspace
are recorded in a special section we could build a list of forbidden
address range.

Is it worth it?

Ralf


\
 
 \ /
  Last update: 2011-11-16 13:15    [W:0.083 / U:3.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site