Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 132430
b: refs/heads/master
c: 3039088
h: refs/heads/master
v: v3
  • Loading branch information
Masami Hiramatsu authored and Linus Torvalds committed Mar 17, 2009
1 parent f2a885e commit 776799d
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 18439c39e826191c0ef08c3a3271ce7ece46a860
refs/heads/master: 30390880debce4a68fd23e87a787f27609e4bf4a
3 changes: 3 additions & 0 deletions trunk/arch/x86/kernel/kprobes.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,9 @@ static int __kprobes can_boost(kprobe_opcode_t *opcodes)
kprobe_opcode_t opcode;
kprobe_opcode_t *orig_opcodes = opcodes;

if (search_exception_tables(opcodes))
return 0; /* Page fault may occur on this address. */

retry:
if (opcodes - orig_opcodes > MAX_INSN_SIZE - 1)
return 0;
Expand Down

0 comments on commit 776799d

Please sign in to comment.