lkml.org 
[lkml]   [2010]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: powerpc: fix double syscall restarts
On Mon, Sep 20, 2010 at 09:48:57PM +0100, Al Viro wrote:

> Make sigreturn zero regs->trap, make do_signal() do the same on all
> paths. As it is, signal interrupting e.g. read() from fd 512 (==
> ERESTARTSYS) with another signal getting unblocked when the first
> handler finishes will lead to restart one insn earlier than it ought
> to. Same for multiple signals with in-kernel handlers interrupting
> that sucker at the same time. Same for multiple signals of any kind
> interrupting that sucker on 64bit...
>
> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Acked-by: Paul Mackerras <paulus@samba.org>


\
 
 \ /
  Last update: 2010-09-22 07:47    [from the cache]
©2003-2011 Jasper Spaans