aboutsummaryrefslogtreecommitdiff
path: root/kernel/wait.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2012-09-29 21:31:08 +0200
committerOleg Nesterov <oleg@redhat.com>2012-10-07 21:19:40 +0200
commitb64b9c937a533f0bfbfc9f6ac93d3c3e2f97ab02 (patch)
treea0d09be7f8be3c3afda0a2be45378a2935cba9f3 /kernel/wait.c
parentec75fba93ef0c00c91545b5e53841a80cffad0c4 (diff)
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 'kernel/wait.c')
0 files changed, 0 insertions, 0 deletions