]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] kprobes/ia64: refuse kprobe on ivt code
authorKeshavamurthy Anil S <anil.s.keshavamurthy@intel.com>
Mon, 27 Jun 2005 22:17:16 +0000 (15:17 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 27 Jun 2005 22:23:54 +0000 (15:23 -0700)
commit363363a67c4ff6492bdbcbdf8c43113c9abe3282
tree97ef8305edf17c07b7e0cc63453548e99e84b8fd
parent1d07317972af2a636068d9fd44dc771eb0d31cc0
[PATCH] kprobes/ia64: refuse kprobe on ivt code

Not safe to insert kprobes on IVT code.

This patch checks to see if the address on which Kprobes is being inserted is
in ivt code and if it is in ivt code then refuse to register kprobe.

Signed-off-by: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
Acked-by: David Mosberger <davidm@napali.hpl.hp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ia64/kernel/kprobes.c
arch/ia64/kernel/vmlinux.lds.S
include/asm-ia64/sections.h