diff options
author | 2023-09-15 17:16:31 +0000 | |
---|---|---|
committer | 2023-09-17 19:48:43 +0200 | |
commit | 34951f3c28bdf6481d949a20413b2ce7693687b2 (patch) | |
tree | 050c70f36c998cb00d0402d62fbac955443b07a8 /arch/x86/boot/compressed/vmlinux.lds.S | |
parent | x86/boot: Drop PE/COFF .reloc section (diff) | |
download | linux-34951f3c28bdf6481d949a20413b2ce7693687b2.tar.gz linux-34951f3c28bdf6481d949a20413b2ce7693687b2.tar.bz2 linux-34951f3c28bdf6481d949a20413b2ce7693687b2.zip |
x86/boot: Split off PE/COFF .data section
Describe the code and data of the decompressor binary using separate
.text and .data PE/COFF sections, so that we will be able to map them
using restricted permissions once we increase the section and file
alignment sufficiently. This avoids the need for memory mappings that
are writable and executable at the same time, which is something that
is best avoided for security reasons.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230915171623.655440-17-ardb@google.com
Diffstat (limited to 'arch/x86/boot/compressed/vmlinux.lds.S')
0 files changed, 0 insertions, 0 deletions