Re: [ia64][patch] Refuse inserting kprobe on slot 1

From: Keshavamurthy Anil S <anil.s.keshavamurthy_at_intel.com>
Date: 2005-06-24 09:43:51
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-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Jun 23 19:48:22 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:40 EST