x86: generate xen.efi image with no write-execute sections
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 27 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | x86/boot: clarify comment about trampoline_setup usagexen/ | +2 | 3 replies | |
| 2/7 | x86/mkelf32: account for offset when detecting note segment placementxen/ | +2 | 4 replies | |
| 3/7 | xen: remove -N from the linker command linexen/ xen/ xen/ +1 more | +15 | 3 replies | |
| 4/7 | x86/boot: apply trampoline relocations at destination positionxen/ xen/ xen/ +1 more | +18 | 7 replies | |
| 5/7 | x86/mkreloc: remove warning about relocations to RO sectionxen/ | +0 | 10 replies | |
| 6/7 | x86/efi: do not merge all .init sectionsxen/ | +0 | 2 replies | |
| 7/7 | xen/build: warn about RWX load segmentsxen/ | +0 | 1 reply |
Reviews trailers per patch
6 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Andrew Cooper | Roger Pau Monné | Jan Beulich | Frediano Ziglio | Oleksii Kurochko |
|---|---|---|---|---|---|
| 1/7 | R-b | ||||
| 2/7 | A-b | R-b | |||
| 3/7 | R-b | R-b | R-b | ||
| 4/7 | R-b | R-b | |||
| 5/7 | |||||
| 6/7 | R-b | ||||
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.
Cover letter [PATCH 0/7] x86: generate xen.efi image with no write-execute sections
Hello,
The aim of the series is to generate a Xen image with no write and execute sections, so that the PE binary can be NX_COMPAT.
The main change for achieving this is changing the order in which the trampoline relocation are applied. To avoid having write-execute sections apply the trampoline relocations after having moved the trampoline to it's final destination.
Thanks, Roger.
Roger Pau Monne (7):
x86/boot: clarify comment about trampoline_setup usage x86/mkelf32: account for offset when detecting note segment placement
xen: remove -N from the linker command line
x86/boot: apply trampoline relocations at destination position x86/mkreloc: remove warning about relocations to RO section x86/efi: do not merge all .init sections
xen/build: warn about RWX load segments
xen/Makefile | 2 -- xen/arch/arm/Makefile | 6 +++--- xen/arch/ppc/Makefile | 6 +++--- xen/arch/riscv/Makefile | 6 +++--- xen/arch/x86/Makefile | 12 ++++++------ xen/arch/x86/boot/build32.lds.S | 1 + xen/arch/x86/boot/head.S | 9 +++++---- xen/arch/x86/boot/mkelf32.c | 3 ++- xen/arch/x86/boot/reloc-trampoline.c | 16 ++++++++-------- xen/arch/x86/efi/efi-boot.h | 15 ++++++--------- xen/arch/x86/efi/mkreloc.c | 5 ----- xen/arch/x86/xen.lds.S | 8 -------- 12 files changed, 37 insertions(+), 52 deletions(-)
Signature · 1 line
2.48.1