lkml.org 
[lkml]   [2013]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/6] kexec: Export vmcoreinfo note size properly
On Thu, Nov 21, 2013 at 10:59:00AM -0800, Greg KH wrote:
> On Wed, Nov 20, 2013 at 12:50:46PM -0500, Vivek Goyal wrote:
> > Right now we seem to be exporting the max data size contained inside
> > vmcoreinfo note. But this does not include the size of meta data around
> > vmcore info data. Like name of the note and starting and ending elf_note.
> >
> > I think user space expects total size and that size is put in PT_NOTE
> > elf header.
> >
> > Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
> > ---
> > kernel/ksysfs.c | 2 +-
> > 1 files changed, 1 insertions(+), 1 deletions(-)
>
> This should go into 3.13, right?
>
> Nice fix.

Yes. This is just a general fix for kexec. I noticed it while going
through the code.

Thanks
Vivek


\
 
 \ /
  Last update: 2013-11-21 23:41    [W:0.544 / U:1.760 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site