diff options
Diffstat (limited to 'k1')
| -rw-r--r-- | k1 | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/k1 b/k1 deleted file mode 100644 index 7bc70d357c1e22..00000000000000 --- a/k1 +++ /dev/null @@ -1,32 +0,0 @@ -From vgoyal@redhat.com Wed Nov 20 09:51:42 2013 -From: Vivek Goyal <vgoyal@redhat.com> -Date: Wed, 20 Nov 2013 12:50:46 -0500 -Subject: [PATCH 1/6] kexec: Export vmcoreinfo note size properly -To: linux-kernel@vger.kernel.org, kexec@lists.infradead.org -Cc: ebiederm@xmission.com, hpa@zytor.com, mjg59@srcf.ucam.org, greg@kroah.com, Vivek Goyal <vgoyal@redhat.com> -Message-ID: <1384969851-7251-2-git-send-email-vgoyal@redhat.com> - - -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 file changed, 1 insertion(+), 1 deletion(-) - ---- a/kernel/ksysfs.c -+++ b/kernel/ksysfs.c -@@ -126,7 +126,7 @@ static ssize_t vmcoreinfo_show(struct ko - { - return sprintf(buf, "%lx %x\n", - paddr_vmcoreinfo_note(), -- (unsigned int)vmcoreinfo_max_size); -+ (unsigned int)sizeof(vmcoreinfo_note)); - } - KERNEL_ATTR_RO(vmcoreinfo); - |
