diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-03-23 19:00:51 +0000 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2017-04-04 17:50:59 +0100 |
commit | cad27ef27ef7d897893b921c86337a8cc9d0cd0e (patch) | |
tree | 47c3a1f4ba26c3890b3d11f16d8927c0558f0d27 /scripts/get_maintainer.pl | |
parent | f1eb542f39128bdf37f4556bc1d70991b89bb03d (diff) | |
download | linux-stable-cad27ef27ef7d897893b921c86337a8cc9d0cd0e.tar.gz linux-stable-cad27ef27ef7d897893b921c86337a8cc9d0cd0e.tar.bz2 linux-stable-cad27ef27ef7d897893b921c86337a8cc9d0cd0e.zip |
arm64: efi: split Image code and data into separate PE/COFF sections
To prevent unintended modifications to the kernel text (malicious or
otherwise) while running the EFI stub, describe the kernel image as
two separate sections: a .text section with read-execute permissions,
covering .text, .rodata and .init.text, and a .data section with
read-write permissions, covering .init.data, .data and .bss.
This relies on the firmware to actually take the section permission
flags into account, but this is something that is currently being
implemented in EDK2, which means we will likely start seeing it in
the wild between one and two years from now.
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'scripts/get_maintainer.pl')
0 files changed, 0 insertions, 0 deletions