From: Prasanna S Panchamukhi Date: Thu, 5 May 2005 23:15:40 +0000 (-0700) Subject: [PATCH] Kprobes: Incorrect handling of probes on ret/lret instruction X-Git-Tag: v2.6.12-rc4~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b9e2cac8a56e197d0a9e06268db4c8652d23dd5;p=pandora-kernel.git [PATCH] Kprobes: Incorrect handling of probes on ret/lret instruction Kprobes could not handle the insertion of a probe on the ret/lret instruction and used to oops after single stepping since kprobes was modifying eip/rip incorrectly. Adjustment of eip/rip is not required after single stepping in case of ret/lret instruction, because eip/rip points to the correct location after execution of the ret/lret instruction. This patch fixes the above problem. Signed-off-by: Prasanna S Panchamukhi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed