[RFC] [patch 2/2] Refuse kprobe insertion on __init section code

2007-12-17 Thread Srinivasa Ds
This patch makes use of persistent_kernel_text_address() to avoid probing __init functions. Signed-off-by: Srinivasa DS <[EMAIL PROTECTED]> Signed-off-by: Ananth N Mavinakayanahalli <[EMAIL PROTECTED]> --- kernel/kprobes.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: l

Re: [RFC] [patch 2/2] Refuse kprobe insertion on __init section code

2007-12-14 Thread Srinivasa Ds
This patch makes use of regular_kernel_text_address() to avoid probing __init functions. Signed-off-by: Srinivasa DS <[EMAIL PROTECTED]> Signed-off-by: Ananth N Mavinakayanahalli <[EMAIL PROTECTED]> --- kernel/kprobes.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: linu

[RFC] [patch 2/2] Refuse kprobe insertion on __init section code

2007-12-13 Thread Srinivasa Ds
This patch makes use of non_init_kernel_text_address() to avoid probing __init functions. Signed-off-by: Srinivasa DS <[EMAIL PROTECTED]> Signed-off-by: Ananth N Mavinakayanahalli <[EMAIL PROTECTED]> --- kernel/kprobes.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: linux