commit | d6a00b35e411519d774d978cdf80e4406d01b36b | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@redhat.com> | Sat Sep 08 18:38:15 2012 +0200 |
committer | Oleg Nesterov <oleg@redhat.com> | Sat Sep 15 17:37:32 2012 +0200 |
tree | e928315e06a4b6199d173848fac7d08301b32362 | |
parent | 3a4664aa8362d9fa9110828f55afa9f9fcd7e484 [diff] |
uprobes/x86: Fix arch_uprobe_disable_step() && UTASK_SSTEP_TRAPPED interaction arch_uprobe_disable_step() should also take UTASK_SSTEP_TRAPPED into account. In this case the probed insn was not executed, we need to clear X86_EFLAGS_TF if it was set by us and that is all. Again, this code will look more clean when we move it into arch_uprobe_post_xol() and arch_uprobe_abort_xol(). Signed-off-by: Oleg Nesterov <oleg@redhat.com> Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>