summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2012-09-29 19:31:08 (GMT)
committerOleg Nesterov <oleg@redhat.com>2012-10-07 19:19:40 (GMT)
commitb64b9c937a533f0bfbfc9f6ac93d3c3e2f97ab02 (patch)
treea0d09be7f8be3c3afda0a2be45378a2935cba9f3 /virt
parentec75fba93ef0c00c91545b5e53841a80cffad0c4 (diff)
downloadlinux-b64b9c937a533f0bfbfc9f6ac93d3c3e2f97ab02.tar.xz
uprobes/x86: Only rep+nop can be emulated correctly
__skip_sstep() correctly detects the "nontrivial" nop insns, but since it doesn't update regs->ip we can not really skip "0x0f 0x1f | 0x0f 0x19 | 0x87 0xc0", the probed application is killed by SIGILL'ed handle_swbp(). Remove these additional checks. If we want to implement this correctly we need to know the full insn length to update ->ip. rep* + nop is fine even without updating ->ip. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions