lkml.org 
[lkml]   [2011]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [patch] UML kernels on {i386,x86_64} produce bad coredumps
Date
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@google.com>
>

Acked-by: WANG Cong <xiyou.wangcong@gmail.com>

Thanks.




\
 
 \ /
  Last update: 2011-01-26 05:33    [W:0.040 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site