[PATCH 1/6] kexec: Export vmcoreinfo note size properly
Vivek Goyal
vgoyal at redhat.com
Thu Nov 21 14:08:08 EST 2013
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 at 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
More information about the kexec
mailing list