Re: [PATCH][kprobes] support kretprobe-blacklist

2007-08-27 Thread Masami Hiramatsu
Hi Christoph, Christoph Hellwig wrote: > On Fri, Aug 17, 2007 at 03:43:04PM -0400, Masami Hiramatsu wrote: >> This patch introduces architecture dependent kretprobe >> blacklists to prohibit users from inserting return >> probes on the function in which kprobes can be inserted >> but kretprobes

Re: [PATCH][kprobes] support kretprobe-blacklist

2007-08-27 Thread Christoph Hellwig
On Fri, Aug 17, 2007 at 03:43:04PM -0400, Masami Hiramatsu wrote: > This patch introduces architecture dependent kretprobe > blacklists to prohibit users from inserting return > probes on the function in which kprobes can be inserted > but kretprobes can not. I don't like this at all. If people

Re: [PATCH][kprobes] support kretprobe-blacklist

2007-08-27 Thread Christoph Hellwig
On Fri, Aug 17, 2007 at 03:43:04PM -0400, Masami Hiramatsu wrote: This patch introduces architecture dependent kretprobe blacklists to prohibit users from inserting return probes on the function in which kprobes can be inserted but kretprobes can not. I don't like this at all. If people want

Re: [PATCH][kprobes] support kretprobe-blacklist take2

2007-08-22 Thread Ananth N Mavinakayanahalli
On Tue, Aug 21, 2007 at 05:01:19PM -0400, Masami Hiramatsu wrote: > Hi Andrew, > > I updated my patch and removed #ifdefs from it. > Thank you, > > Masami Hiramatsu > Hitachi Computer Products (America), Inc. > > > This patch introduces architecture dependent kretprobe > blacklists to prohibit

Re: [PATCH][kprobes] support kretprobe-blacklist take2

2007-08-22 Thread Ananth N Mavinakayanahalli
On Tue, Aug 21, 2007 at 05:01:19PM -0400, Masami Hiramatsu wrote: Hi Andrew, I updated my patch and removed #ifdefs from it. Thank you, Masami Hiramatsu Hitachi Computer Products (America), Inc. This patch introduces architecture dependent kretprobe blacklists to prohibit users from

[PATCH][kprobes] support kretprobe-blacklist take2

2007-08-21 Thread Masami Hiramatsu
Hi Andrew, I updated my patch and removed #ifdefs from it. Thank you, Masami Hiramatsu Hitachi Computer Products (America), Inc. This patch introduces architecture dependent kretprobe blacklists to prohibit users from inserting return probes on the function in which kprobes can be inserted but

[PATCH][kprobes] support kretprobe-blacklist take2

2007-08-21 Thread Masami Hiramatsu
Hi Andrew, I updated my patch and removed #ifdefs from it. Thank you, Masami Hiramatsu Hitachi Computer Products (America), Inc. This patch introduces architecture dependent kretprobe blacklists to prohibit users from inserting return probes on the function in which kprobes can be inserted but

Re: [PATCH][kprobes] support kretprobe-blacklist

2007-08-17 Thread Masami Hiramatsu
Hi Andrew, Thank you for comments. Andrew Morton wrote: >> Index: 2.6-mm/include/asm-i386/kprobes.h >> === >> --- 2.6-mm.orig/include/asm-i386/kprobes.h >> +++ 2.6-mm/include/asm-i386/kprobes.h >> @@ -44,6 +44,7 @@ typedef u8

Re: [PATCH][kprobes] support kretprobe-blacklist

2007-08-17 Thread Andrew Morton
On Fri, 17 Aug 2007 15:43:04 -0400 Masami Hiramatsu <[EMAIL PROTECTED]> wrote: > This patch introduces architecture dependent kretprobe > blacklists to prohibit users from inserting return > probes on the function in which kprobes can be inserted > but kretprobes can not. > > Signed-off-by:

[PATCH][kprobes] support kretprobe-blacklist

2007-08-17 Thread Masami Hiramatsu
This patch introduces architecture dependent kretprobe blacklists to prohibit users from inserting return probes on the function in which kprobes can be inserted but kretprobes can not. Signed-off-by: Masami Hiramatsu <[EMAIL PROTECTED]> --- When a kretprobe is inserted in the entry of the

[PATCH][kprobes] support kretprobe-blacklist

2007-08-17 Thread Masami Hiramatsu
This patch introduces architecture dependent kretprobe blacklists to prohibit users from inserting return probes on the function in which kprobes can be inserted but kretprobes can not. Signed-off-by: Masami Hiramatsu [EMAIL PROTECTED] --- Problem Description When a kretprobe is inserted in the

Re: [PATCH][kprobes] support kretprobe-blacklist

2007-08-17 Thread Andrew Morton
On Fri, 17 Aug 2007 15:43:04 -0400 Masami Hiramatsu [EMAIL PROTECTED] wrote: This patch introduces architecture dependent kretprobe blacklists to prohibit users from inserting return probes on the function in which kprobes can be inserted but kretprobes can not. Signed-off-by: Masami

Re: [PATCH][kprobes] support kretprobe-blacklist

2007-08-17 Thread Masami Hiramatsu
Hi Andrew, Thank you for comments. Andrew Morton wrote: Index: 2.6-mm/include/asm-i386/kprobes.h === --- 2.6-mm.orig/include/asm-i386/kprobes.h +++ 2.6-mm/include/asm-i386/kprobes.h @@ -44,6 +44,7 @@ typedef u8 kprobe_opcode_t;