summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/signal.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2012-09-14 18:23:51 +0200
committerOleg Nesterov <oleg@redhat.com>2012-09-29 21:21:52 +0200
commit746a9e6ba24af2ccf03279c99d435a1b88ca5d17 (patch)
tree7ee4399b90c952520c492fea64cb2d841341d0d4 /arch/x86/kernel/signal.c
parentuprobes: Do not leak UTASK_BP_HIT if find_active_uprobe() fails (diff)
downloadlinux-746a9e6ba24af2ccf03279c99d435a1b88ca5d17.tar.xz
linux-746a9e6ba24af2ccf03279c99d435a1b88ca5d17.zip
uprobes: Do not setup ->active_uprobe/state prematurely
handle_swbp() sets utask->active_uprobe before handler_chain(), and UTASK_SSTEP before pre_ssout(). This complicates the code for no reason, arch_ hooks or consumer->handler() should not (and can't) use this info. Change handle_swbp() to initialize them after pre_ssout(), and remove the no longer needed cleanup-utask code. Signed-off-by: Oleg Nesterov <oleg@redhat.com> cked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Diffstat (limited to 'arch/x86/kernel/signal.c')
0 files changed, 0 insertions, 0 deletions