]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] kprobes/ia64: refuse inserting kprobe on slot 1
authorRusty Lynch <rusty.lynch@intel.com>
Mon, 27 Jun 2005 22:17:15 +0000 (15:17 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 27 Jun 2005 22:23:53 +0000 (15:23 -0700)
commit1d07317972af2a636068d9fd44dc771eb0d31cc0
treea755ae70dfe85d3f55c5b42df8c05dfb247f13c8
parent21e979753593b6ed6124da906450968bec245abb
[PATCH] kprobes/ia64: refuse inserting kprobe on slot 1

Without the ability to atomically write 16 bytes, we can not update the
middle slot of a bundle, slot 1, unless we stop the machine first.  This
patch will ensure the ability to robustly insert and remove a kprobe by
refusing to insert a kprobe on slot 1 until a mechanism is in place to
safely handle this case.

Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ia64/kernel/kprobes.c