[lkml]   [2010]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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 <>

Acked-by: Paul Mackerras <>

 \ /
  Last update: 2010-09-22 07:47    [W:0.028 / U:0.604 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site