Re: [PATCH 4/4] export the kernel image size KERNEL_IMAGE_SIZE

2014-09-09 Thread Vivek Goyal
On Fri, Sep 05, 2014 at 10:08:17PM +0800, Baoquan He wrote: > Now kaslr makes kernel image size changable, not the fixed size 512M. > So KERNEL_IMAGE_SIZE need be exported to VMCOREINFO, otherwise makedumfile > will crash. > > Signed-off-by: Baoquan He This one sounds reasonable. CCing Atshushi.

Re: [PATCH 4/4] export the kernel image size KERNEL_IMAGE_SIZE

2014-09-05 Thread Kees Cook
On Fri, Sep 5, 2014 at 7:08 AM, Baoquan He wrote: > Now kaslr makes kernel image size changable, not the fixed size 512M. > So KERNEL_IMAGE_SIZE need be exported to VMCOREINFO, otherwise makedumfile > will crash. Seems like a good idea, yes. > > Signed-off-by: Baoquan He > --- > kernel/kexec.c

[PATCH 4/4] export the kernel image size KERNEL_IMAGE_SIZE

2014-09-05 Thread Baoquan He
Now kaslr makes kernel image size changable, not the fixed size 512M. So KERNEL_IMAGE_SIZE need be exported to VMCOREINFO, otherwise makedumfile will crash. Signed-off-by: Baoquan He --- kernel/kexec.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel/kexec.c b/kernel/kexec.c index 2