[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.020 / U:1.536 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site