aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/powerpc-hcalls.py
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2022-04-29 15:13:46 +0200
committerCatalin Marinas <catalin.marinas@arm.com>2022-05-17 09:32:38 +0100
commit6ee3cf6a209fc76d8ae51fba357a62841ec6124c (patch)
treed9b73e19efd8a076a8abc4c87608d85eb24dbeee /tools/perf/scripts/python/powerpc-hcalls.py
parentbc5dfb4fd7bd471c77ea48143159eb5e1308d636 (diff)
arm64: lds: move special code sections out of kernel exec segment
There are a few code sections that are emitted into the kernel's executable .text segment simply because they contain code, but are actually never executed via this mapping, so they can happily live in a region that gets mapped without executable permissions, reducing the risk of being gadgetized. Note that the kexec and hibernate region contents are always copied into a fresh page, and so there is no need to align them as long as the overall size of each is below 4 KiB. Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Acked-by: Mark Rutland <mark.rutland@arm.com> Link: https://lore.kernel.org/r/20220429131347.3621090-2-ardb@kernel.org Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions