android_kernel_samsung_msm8976/arch
Michael Brown 819ab9941c x86/efi: Include a .bss section within the PE/COFF headers
commit c7fb93ec51d462ec3540a729ba446663c26a0505 upstream.

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>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-31 12:53:52 -07:00
..
alpha
arc ARC: Implement ptrace(PTRACE_GET_THREAD_AREA) 2014-07-28 08:00:07 -07:00
arm locking/mutex: Disable optimistic spinning on some architectures 2014-07-28 08:00:07 -07:00
arm64 locking/mutex: Disable optimistic spinning on some architectures 2014-07-28 08:00:07 -07:00
avr32
blackfin
c6x
cris
frv
h8300
hexagon
ia64
m32r
m68k m68k: Skip futex_atomic_cmpxchg_inatomic() test 2014-04-14 06:42:19 -07:00
metag metag: Reduce maximum stack size to 256MB 2014-06-07 13:25:38 -07:00
microblaze
mips MIPS: KVM: Fix memory leak on VCPU 2014-07-06 18:54:15 -07:00
mn10300
openrisc
parisc parisc: Remove SA_RESTORER define 2014-07-31 12:53:50 -07:00
powerpc locking/mutex: Disable optimistic spinning on some architectures 2014-07-28 08:00:07 -07:00
s390 s390/ptrace: fix PSW mask check 2014-07-31 12:53:52 -07:00
score Score: Modify the Makefile of Score, remove -mlong-calls for compiling 2014-07-17 15:58:04 -07:00
sh sh: fix format string bug in stack tracer 2014-05-06 07:55:32 -07:00
sparc locking/mutex: Disable optimistic spinning on some architectures 2014-07-28 08:00:07 -07:00
tile
um
unicore32 arch/unicore32/mm/alignment.c: include "asm/pgtable.h" to avoid compiling error 2014-07-09 11:14:02 -07:00
x86 x86/efi: Include a .bss section within the PE/COFF headers 2014-07-31 12:53:52 -07:00
xtensa
.gitignore
Kconfig