aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/boot/compressed/vmlinux.lds.S
diff options
context:
space:
mode:
authorGravatar Ard Biesheuvel <ardb@kernel.org> 2023-09-15 17:16:31 +0000
committerGravatar Ingo Molnar <mingo@kernel.org> 2023-09-17 19:48:43 +0200
commit34951f3c28bdf6481d949a20413b2ce7693687b2 (patch)
tree050c70f36c998cb00d0402d62fbac955443b07a8 /arch/x86/boot/compressed/vmlinux.lds.S
parentx86/boot: Drop PE/COFF .reloc section (diff)
downloadlinux-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