alistair23-linux/arch
Matt Fleming e31be363df x86, efi: Fix .text section overlapping image header for EFI_STUB
This change modifes the PE .text section to start after
the first sector of the kernel image.

The header may be modified by the UEFI secure boot signing,
so it is not appropriate for it to be included in one of the
image sections. Since the sections are part of the secure
boot hash, this modification to the .text section contents
would invalidate the secure boot signed hash.

Note: UEFI secure boot does hash the image header, but
fields that are changed by the signing process are excluded
from the hash calculation.  This exclusion process is only
handled for the image header, and not image sections.

Luckily, we can still easily boot without the first sector
by initializing a few fields in arch/x86/boot/compressed/eboot.c.

Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Link: http://lkml.kernel.org/r/1332520506-6472-3-git-send-email-jordan.l.justen@intel.com
[jordan.l.justen@intel.com: set .text vma & file offset]
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2012-03-26 13:10:01 -07:00
..
alpha alpha: fix 32/64-bit bug in futex support 2012-03-05 15:49:43 -08:00
arm SH/R-Mobile fixes for 3.3-rc. 2012-03-12 22:47:20 -07:00
avr32
blackfin
c6x C6X: remove dead code from entry.S 2012-03-16 09:27:57 -04:00
cris
frv
h8300
hexagon
ia64
m32r
m68k
microblaze
mips MIPS: traps.c: Fix typo 2012-02-20 18:33:20 +01:00
mn10300
openrisc openrisc: Fix up audit_syscall_[entry|exit]() usage 2012-02-17 09:53:12 +01:00
parisc [PARISC] don't unconditionally override CROSS_COMPILE for 64 bit. 2012-02-28 09:39:28 -06:00
powerpc powerpc: Fix various issues with return to userspace 2012-02-22 16:48:53 +11:00
s390 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2012-03-01 18:22:55 -08:00
score
sh sh: fix up the ubc clock definition for sh7785. 2012-03-07 15:28:32 +09:00
sparc sparc32: Add -Av8 to assembler command line. 2012-03-13 18:19:51 -07:00
tile arch/tile/configs: convert to minimal configs via "make savedefconfig" 2012-03-14 14:33:16 -04:00
um
unicore32
x86 x86, efi: Fix .text section overlapping image header for EFI_STUB 2012-03-26 13:10:01 -07:00
xtensa
.gitignore
Kconfig