[lkml]   [2009]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [] Kernel coredump to a pipe is failing
    On Tue, 26 May 2009 22:31:41 +0200
    Andi Kleen <> wrote:

    > Block signals during core dump
    > When a signal happens during core dump the core dump to a pipe
    > can fail, because the write returns short, but the ELF core dumpers
    > cannot handle that.
    > There's no reason to handle signals during core dumping, so just
    > block them all.
    > Open issue: ELF puts blocked signals into the core dump and
    > that will be always fully blocked now. Need to save it somewhere?
    > Based on debugging by Paul Smith.
    > Signed-off-by: Andi Kleen <>

    dump_write() doesn't seem right, either. If ->write() returns, say,
    100 then the dump should keep on going. At present it treats this
    return as an error.

    I wonder why the signal problem has just turned up now - did we change
    the pipe code or something?

     \ /
      Last update: 2009-05-27 01:03    [W:0.020 / U:77.432 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site