diff options
author | Oleg Nesterov <oleg@redhat.com> | 2012-12-30 18:21:22 +0400 |
---|---|---|
committer | Oleg Nesterov <oleg@redhat.com> | 2013-02-08 20:47:11 +0400 |
commit | cf31ec3f7fece93f3fce3ee5964e27857141ea47 (patch) | |
tree | c2cc4c968fdd9fa0c02fb0c6f4f452a826947df4 /kernel/events/uprobes.c | |
parent | da1816b1caeccdff04531e763bb35d7caa3ed19f (diff) | |
download | linux-cf31ec3f7fece93f3fce3ee5964e27857141ea47.tar.xz |
uprobes/x86: Change __skip_sstep() to actually skip the whole insn
__skip_sstep() doesn't update regs->ip. Currently this is correct
but only "by accident" and it doesn't skip the whole insn. Change
it to advance ->ip by the length of the detected 0x66*0x90 sequence.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/events/uprobes.c')
0 files changed, 0 insertions, 0 deletions