diff options
author | Oleg Nesterov <oleg@redhat.com> | 2014-04-05 21:06:10 +0200 |
---|---|---|
committer | Oleg Nesterov <oleg@redhat.com> | 2014-04-17 21:58:22 +0200 |
commit | d241006354c550c7d22f304e2fdf90137fb8eaab (patch) | |
tree | 2494931597f4033b265f74763f5b851692a7da3a /kernel/user_namespace.c | |
parent | 7ba6db2d688bdf83049a18c8e55b2d1e58e8b0bc (diff) |
uprobes/x86: Emulate nop's using ops->emulate()
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>
Diffstat (limited to 'kernel/user_namespace.c')
0 files changed, 0 insertions, 0 deletions