Re: [resend Patch v3 2/2] export the kernel image size KERNEL_IMAGE_SIZE

2015-02-09 Thread Kees Cook
Ping? Can someone pull this into x86 tip? Thanks! -Kees On Sun, Feb 1, 2015 at 11:32 PM, Baoquan He wrote: > > Hi Thomas, > > Could you please also merge this patch? Since you have merged this patch > "x86, boot: Skip relocs when load address unchanged [commit f285f4a21]", > and this issue

Re: [resend Patch v3 2/2] export the kernel image size KERNEL_IMAGE_SIZE

2015-02-09 Thread Kees Cook
Ping? Can someone pull this into x86 tip? Thanks! -Kees On Sun, Feb 1, 2015 at 11:32 PM, Baoquan He b...@redhat.com wrote: Hi Thomas, Could you please also merge this patch? Since you have merged this patch x86, boot: Skip relocs when load address unchanged [commit f285f4a21], and this

Re: [resend Patch v3 2/2] export the kernel image size KERNEL_IMAGE_SIZE

2015-02-01 Thread Baoquan He
Hi Thomas, Could you please also merge this patch? Since you have merged this patch "x86, boot: Skip relocs when load address unchanged [commit f285f4a21]", and this issue was raised because it broke kexec/kdump, then I posted these 2 patches. Without this patch makedumpfile will be broken when

Re: [resend Patch v3 2/2] export the kernel image size KERNEL_IMAGE_SIZE

2015-02-01 Thread Baoquan He
Hi Thomas, Could you please also merge this patch? Since you have merged this patch x86, boot: Skip relocs when load address unchanged [commit f285f4a21], and this issue was raised because it broke kexec/kdump, then I posted these 2 patches. Without this patch makedumpfile will be broken when

[resend Patch v3 2/2] export the kernel image size KERNEL_IMAGE_SIZE

2014-09-30 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 Acked-by: Kees Cook Acked-by: Vivek Goyal --- kernel/kexec.c | 3 +++ 1 file changed, 3 insertions(+) diff

[resend Patch v3 2/2] export the kernel image size KERNEL_IMAGE_SIZE

2014-09-30 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 b...@redhat.com Acked-by: Kees Cook keesc...@chromium.org Acked-by: Vivek Goyal vgo...@redhat.com ---