]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] kretprobe: fix kretprobe-booster to save regs and set status
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Thu, 9 Nov 2006 01:44:49 +0000 (17:44 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 9 Nov 2006 02:29:24 +0000 (18:29 -0800)
commita4eb34d4b1ec15c85d94b83096efd60efd6a454a
tree33bc012cebe8c3e012c533aade5e9d6ced34cce0
parent0db49f0d08091fc7bda5e52762d9760f3ae400cc
[PATCH] kretprobe: fix kretprobe-booster to save regs and set status

There are two bugs in the kretprobe-booster.

1) It doesn't make room for gs registers.

2) It doesn't change status of the current kprobe.  This status will
   effect the fault handling.

This patch fixes these bugs and, additionally, saves skipped registers for
compatibility with the original kretprobe.

Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/kprobes.c