summaryrefslogtreecommitdiffstats
path: root/Documentation/workqueue.txt
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2012-09-30 21:12:44 +0200
committerAnton Arapov <anton@redhat.com>2012-10-29 11:50:20 +0100
commit25867805ad90019c10b8e71a78ea394bf344007c (patch)
tree14ffe027fbcab2380ccdcb99bbe2d2e17f4a95bd /Documentation/workqueue.txt
parent7e0dbbe849e1d99b1b3ae1b5acc7a1dabaf64e7f (diff)
downloadkernel-uprobes-f17_uprobes_oleg.tar.gz
kernel-uprobes-f17_uprobes_oleg.tar.xz
kernel-uprobes-f17_uprobes_oleg.zip
uprobes: Fix the racy uprobe->flags manipulationf17_uprobes_upstreamf17_uprobes_tipf17_uprobes_oleg
Multiple threads can manipulate uprobe->flags, this is obviously unsafe. For example mmap can set UPROBE_COPY_INSN while register tries to set UPROBE_RUN_HANDLER, the latter can also race with can_skip_sstep() which clears UPROBE_SKIP_SSTEP. Change this code to use bitops. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Diffstat (limited to 'Documentation/workqueue.txt')
0 files changed, 0 insertions, 0 deletions