[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)
commit8bdc052eccdc7893d075d3f1f7103594a458c8c4
tree33bc012cebe8c3e012c533aade5e9d6ced34cce0
parent4b438a23fb05b6566393f9f0a3987ea3dcc1c0c4
[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