Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 7511
b: refs/heads/master
c: bce0649
h: refs/heads/master
i:
  7509: b47c6f4
  7507: 0201697
  7503: 63e34dc
v: v3
  • Loading branch information
Jim Keniston authored and Linus Torvalds committed Sep 7, 2005
1 parent 3ebb14c commit c58470b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 661e5a3d9958dc83d610992da85625c0ada9bb06
refs/heads/master: bce0649417d6e71f6df8ab7b11103d247913b142
3 changes: 3 additions & 0 deletions trunk/arch/i386/kernel/kprobes.c
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,10 @@ static int __kprobes kprobe_handler(struct pt_regs *regs)
* either a probepoint or a debugger breakpoint
* at this address. In either case, no further
* handling of this interrupt is appropriate.
* Back up over the (now missing) int3 and run
* the original instruction.
*/
regs->eip -= sizeof(kprobe_opcode_t);
ret = 1;
}
/* Not one of ours: let kernel handle it */
Expand Down
3 changes: 3 additions & 0 deletions trunk/arch/x86_64/kernel/kprobes.c
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,10 @@ int __kprobes kprobe_handler(struct pt_regs *regs)
* either a probepoint or a debugger breakpoint
* at this address. In either case, no further
* handling of this interrupt is appropriate.
* Back up over the (now missing) int3 and run
* the original instruction.
*/
regs->rip = (unsigned long)addr;
ret = 1;
}
/* Not one of ours: let kernel handle it */
Expand Down

0 comments on commit c58470b

Please sign in to comment.