On Thursday, 26 July 2007 18:43, Linus Torvalds wrote:
Yes, it does, with the appended fix on top. :-)
Greetings,
Rafael
---
arch/i386/kernel/alternative.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6.23-rc1/arch/i386/kernel/alternative.c
===================================================================
--- linux-2.6.23-rc1.orig/arch/i386/kernel/alternative.c
+++ linux-2.6.23-rc1/arch/i386/kernel/alternative.c
@@ -432,7 +432,7 @@ void __init alternative_instructions(voi
*/
void __kprobes text_poke(void *oaddr, unsigned char *opcode, int len)
{
- memcpy(addr, opcode, len);
+ memcpy(oaddr, opcode, len);
sync_core();
/* Not strictly needed, but can speed CPU recovery up. Ignore cross cacheline
case. */
-