Home
last modified time | relevance | path

Searched hist:c7fb93ec51d462ec3540a729ba446663c26a0505 (Results 1 – 2 of 2) sorted by relevance

/linux/arch/x86/boot/tools/
H A Dbuild.cdiff c7fb93ec51d462ec3540a729ba446663c26a0505 Thu Jul 10 13:26:20 CEST 2014 Michael Brown <mbrown@fensystems.co.uk> x86/efi: Include a .bss section within the PE/COFF headers

The PE/COFF headers currently describe only the initialised-data
portions of the image, and result in no space being allocated for the
uninitialised-data portions. Consequently, the EFI boot stub will end
up overwriting unexpected areas of memory, with unpredictable results.

Fix by including a .bss section in the PE/COFF headers (functionally
equivalent to the init_size field in the bzImage header).

Signed-off-by: Michael Brown <mbrown@fensystems.co.uk>
Cc: Thomas Bächler <thomas@archlinux.org>
Cc: Josh Boyer <jwboyer@fedoraproject.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
/linux/arch/x86/boot/
H A Dheader.Sdiff c7fb93ec51d462ec3540a729ba446663c26a0505 Thu Jul 10 13:26:20 CEST 2014 Michael Brown <mbrown@fensystems.co.uk> x86/efi: Include a .bss section within the PE/COFF headers

The PE/COFF headers currently describe only the initialised-data
portions of the image, and result in no space being allocated for the
uninitialised-data portions. Consequently, the EFI boot stub will end
up overwriting unexpected areas of memory, with unpredictable results.

Fix by including a .bss section in the PE/COFF headers (functionally
equivalent to the init_size field in the bzImage header).

Signed-off-by: Michael Brown <mbrown@fensystems.co.uk>
Cc: Thomas Bächler <thomas@archlinux.org>
Cc: Josh Boyer <jwboyer@fedoraproject.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>