[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111116121207.GA5079@linux-mips.org>
Date: Wed, 16 Nov 2011 12:12:07 +0000
From: Ralf Baechle <ralf@...ux-mips.org>
To: Victor Kamensky <kamensky@...co.com>
Cc: David Daney <david.daney@...ium.com>,
"manesoni@...co.com" <manesoni@...co.com>,
"ananth@...ibm.com" <ananth@...ibm.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-mips@...ux-mips.org" <linux-mips@...ux-mips.org>
Subject: Re: [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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists