[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <iho7vn$kmn$2@dough.gmane.org>
Date: Wed, 26 Jan 2011 04:29:43 +0000 (UTC)
From: WANG Cong <xiyou.wangcong@...il.com>
To: linux-kernel@...r.kernel.org
Cc: user-mode-linux-devel@...ts.sourceforge.net
Subject: Re: [patch] UML kernels on {i386,x86_64} produce bad coredumps
On Tue, 25 Jan 2011 15:14:33 -0800, Paul Pluzhnikov wrote:
...
> Examining the core shows that NT_PRSTATUS notes for all threads other
> than the one that crashed are zeroed out.
>
> I believe this is happening because neither ELF_CORE_COPY_TASK_REGS nor
> task_pt_regs are defined under ARCH=um, and so elf_core_copy_task_regs()
> becomes a no-op.
I think this was missed due to some cleanups of the core elf
change, UML is one of the part overlooked by people. :-/
>
> Attached patch fixes this for SUBARCH={x86_64,i386}.
>
> Thanks,
> --
> Paul Pluzhnikov
>
> P.S. Google has blanket FSF copyright assignment.
>
>
> Signed-off-by: Paul Pluzhnikov <ppluzhnikov@...gle.com>
>
Acked-by: WANG Cong <xiyou.wangcong@...il.com>
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists