diff options
author | Oleg Nesterov <oleg@redhat.com> | 2014-04-06 21:53:47 +0200 |
---|---|---|
committer | Oleg Nesterov <oleg@redhat.com> | 2014-04-17 21:58:23 +0200 |
commit | 8f95505bc18a026ef7d3dfdbce4e5b31b3e4fc1b (patch) | |
tree | 2c70b00894728300f34a2a2b63855d9b1e83b79d /kernel/locking/mutex-debug.c | |
parent | 8e89c0be171b1a9ed2ba67168733ca811bb45d5c (diff) |
uprobes/x86: Emulate relative conditional "short" jmp's
Teach branch_emulate_op() to emulate the conditional "short" jmp's which
check regs->flags.
Note: this doesn't support jcxz/jcexz, loope/loopz, and loopne/loopnz.
They all are rel8 and thus they can't trigger the problem, but perhaps
we will add the support in future just for completeness.
Reported-by: Jonathan Lebon <jlebon@redhat.com>
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Reviewed-by: Jim Keniston <jkenisto@us.ibm.com>
Diffstat (limited to 'kernel/locking/mutex-debug.c')
0 files changed, 0 insertions, 0 deletions