]> git.hungrycats.org Git - linux/commit
[PATCH] kprobes exception notifier fix
authorPrasanna S. Panchamukhi <prasanna@in.ibm.com>
Sun, 3 Oct 2004 02:14:25 +0000 (19:14 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 3 Oct 2004 02:14:25 +0000 (19:14 -0700)
commit644f6741bec0455fa7d8c780034cc8f01988c3e0
treed816abf4c13c710f79031481aa97d57690f2b4a5
parent5fe20d6e675d7e62df7cfc8385574785727a9e41
[PATCH] kprobes exception notifier fix

This patch modifies the return value of kprobes exceptions notify handler.
The kprobes exception notifier returns NOTIFY_STOP on handling
notification.  This patch helps other debuggers to co-exists with the
Kprobes.  Other debuggers registered for exceptions notification must
return NOTIFY_STOP on handling the notification.

Signed-off-by: Prasanna S Panchamukhi <prasanna@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/kprobes.c
arch/i386/kernel/traps.c
arch/i386/mm/fault.c
arch/sparc64/kernel/kprobes.c
arch/sparc64/kernel/traps.c
arch/sparc64/mm/fault.c
arch/x86_64/kernel/nmi.c
arch/x86_64/kernel/traps.c
include/linux/notifier.h
kernel/kprobes.c