git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ba6db2
)
uprobes/x86: Emulate nop's using ops->emulate()
author
Oleg Nesterov
<oleg@redhat.com>
Sat, 5 Apr 2014 19:06:10 +0000
(21:06 +0200)
committer
Oleg Nesterov
<oleg@redhat.com>
Thu, 17 Apr 2014 19:58:22 +0000
(21:58 +0200)
Finally we can kill the ugly (and very limited) code in __skip_sstep().
Just change branch_setup_xol_ops() to treat "nop" as jmp to the next insn.
Thanks to lib/insn.c, it is clever enough. OPCODE1() == 0x90 includes
"(rep;)+ nop;" at least, and (afaics) much more.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Reviewed-by: Jim Keniston <jkenisto@us.ibm.com>
arch/x86/kernel/uprobes.c
patch
|
blob
|
history
diff --cc
arch/x86/kernel/uprobes.c
Simple merge