summaryrefslogtreecommitdiffstats
path: root/kernel/events/uprobes.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2012-09-29 21:31:08 +0200
committerAnton Arapov <anton@redhat.com>2012-10-29 11:50:17 +0100
commit2993045f4425ab3b42021c93bfcea9aae1367153 (patch)
tree34a8ea0537088a5121af76a857dd47a9dc3c7a61 /kernel/events/uprobes.c
parent21e7e37b66c7a1b30046601bd5d1bab07bbdd5a8 (diff)
downloadkernel-uprobes-2993045f4425ab3b42021c93bfcea9aae1367153.tar.gz
kernel-uprobes-2993045f4425ab3b42021c93bfcea9aae1367153.tar.xz
kernel-uprobes-2993045f4425ab3b42021c93bfcea9aae1367153.zip
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/events/uprobes.c')
0 files changed, 0 insertions, 0 deletions