Re: [PATCH 7/7] uprobes: Fix the racy uprobe->flags manipulation

2012-10-06 Thread Srikar Dronamraju
* Oleg Nesterov [2012-09-30 21:42:27]: > 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. > > Cha

Re: [PATCH 7/7] uprobes: Fix the racy uprobe->flags manipulation

2012-10-04 Thread Anton Arapov
On Sun, Sep 30, 2012 at 09:42:27PM +0200, Oleg Nesterov wrote: > 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 UPROB