lkml.org 
[lkml]   [2005]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [ia64][patch] Refuse inserting kprobe on slot 1
On Wed, Jun 22, 2005 at 07:32:42PM -0700, Rusty Lynch wrote:
>
> +
> + if (slot == 1) {
Rusty, this is wrong. You should fail only
if (slot == 1) && (bundle_encoding[template][1] != L) {
This is because for MLX template we will actually be patching
the instruction on slot = 2 and not on slot 1.
> + printk(KERN_WARNING "Inserting kprobes on slot #1 "
> + "is not supported\n");
> + return -EINVAL;
> + }
> +
> return 0;
> }
>

-Anil
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-06-24 01:54    [W:1.198 / U:0.920 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site